mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Format new logic
This commit is contained in:
parent
b16af0da3c
commit
1e925e97d8
1 changed files with 8 additions and 8 deletions
|
@ -98,7 +98,7 @@ def get_channel_videos_response(ucid, page = 1, auto_generated = nil, sort_by =
|
|||
id: ucid,
|
||||
page: i,
|
||||
sort_by: sort_by,
|
||||
continuation: continuation
|
||||
continuation: continuation,
|
||||
})
|
||||
PG_DB.exec("INSERT INTO channel_continuations VALUES ($1, $2, $3, $4) \
|
||||
ON CONFLICT (id, page, sort_by) DO UPDATE SET continuation = $4", *channel_continuation.to_tuple)
|
||||
|
@ -122,7 +122,7 @@ def get_channel_videos_response(ucid, page = 1, auto_generated = nil, sort_by =
|
|||
id: ucid,
|
||||
page: page + 1,
|
||||
sort_by: sort_by,
|
||||
continuation: continuation
|
||||
continuation: continuation,
|
||||
})
|
||||
PG_DB.exec("INSERT INTO channel_continuations VALUES ($1, $2, $3, $4) \
|
||||
ON CONFLICT (id, page, sort_by) DO UPDATE SET continuation = $4", *channel_continuation.to_tuple)
|
||||
|
|
Loading…
Reference in a new issue