mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
unified function call styles
This commit is contained in:
parent
aee222eb62
commit
eff098003f
3 changed files with 4 additions and 4 deletions
|
|
@ -8,7 +8,7 @@ import general, tweet
|
|||
|
||||
const doctype = "<!DOCTYPE html>\n"
|
||||
|
||||
proc renderVideoEmbed*(cfg: Config; req: Request; tweet: Tweet): string =
|
||||
proc renderVideoEmbed*(tweet: Tweet; cfg: Config; req: Request): string =
|
||||
let thumb = get(tweet.video).thumb
|
||||
let vidUrl = getVideoEmbed(cfg, tweet.id)
|
||||
let prefs = Prefs(hlsPlayback: true)
|
||||
|
|
|
|||
Loading…
Reference in a new issue