mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Change ID types to int64
This commit is contained in:
parent
d6a2cd324f
commit
5576cbac8d
7 changed files with 19 additions and 19 deletions
|
|
@ -63,7 +63,7 @@ proc cache*(video: var Video) =
|
|||
if video.videoId.len > 0:
|
||||
video.insert()
|
||||
|
||||
proc getCachedVideo*(id: int): Option[Video] =
|
||||
proc getCachedVideo*(id: int64): Option[Video] =
|
||||
withDb:
|
||||
try:
|
||||
return some Video.getOne("videoId = ?", $id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue