mirror of
https://github.com/zedeus/nitter.git
synced 2026-01-29 23:02:49 -05:00
Change ID types to int64
This commit is contained in:
@@ -11,6 +11,6 @@ export embed
|
||||
proc createEmbedRouter*(cfg: Config) =
|
||||
router embed:
|
||||
get "/i/videos/tweet/@id":
|
||||
let tweet = Tweet(id: @"id".parseInt, video: some Video())
|
||||
let tweet = Tweet(id: @"id".parseBiggestInt, video: some Video())
|
||||
await getVideo(tweet, getAgent(), "")
|
||||
resp renderVideoEmbed(cfg, tweet)
|
||||
|
||||
Reference in New Issue
Block a user