Include username in status requests

This commit is contained in:
Zed
2019-06-27 20:13:46 +02:00
parent a801b01142
commit a43950dcf5
2 changed files with 4 additions and 5 deletions

View File

@ -43,7 +43,7 @@ routes:
get "/@name/status/@id":
cond '.' notin @"name"
let conversation = await getTweet(@"id")
let conversation = await getTweet(@"name", @"id")
if conversation.isNil or conversation.tweet.id.len == 0:
resp Http404, showError("Tweet not found")