diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-21 18:49:43 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-21 18:59:56 -0400 |
commit | 4f0847bb24a5df77f88c883461491a2f6fd955d7 (patch) | |
tree | 0f9e2eef1f6bfa4f3a09370730ad8351c1ce24dd /handlers.go | |
parent | 61e81ea7acfc01e8b7ea33156a36c15b0674c79f (diff) | |
download | getwtxt-4f0847bb24a5df77f88c883461491a2f6fd955d7.tar.gz |
runtime bugs related to api output
Diffstat (limited to 'handlers.go')
-rw-r--r-- | handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers.go b/handlers.go index 151eb60..2bf74f8 100644 --- a/handlers.go +++ b/handlers.go @@ -78,7 +78,7 @@ func apiEndpointHandler(w http.ResponseWriter, r *http.Request) { if r.URL.Path == "/api/plain/users" { out, err = twtxtCache.QueryUser("") } else if r.URL.Path == "/api/plain/mentions" { - out, err = twtxtCache.QueryInStatus(".txt>") + out, err = twtxtCache.QueryInStatus("@<") } else { out, err = twtxtCache.QueryAllStatuses() } |