mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Only update time for get_channel
This commit is contained in:
parent
10f2048d95
commit
385d6301a3
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ def get_channel(id, client, db)
|
||||||
args = arg_array(channel_array)
|
args = arg_array(channel_array)
|
||||||
|
|
||||||
db.exec("INSERT INTO channels VALUES (#{args}) \
|
db.exec("INSERT INTO channels VALUES (#{args}) \
|
||||||
ON CONFLICT (id) DO UPDATE SET author = $2, updated = $3", channel_array)
|
ON CONFLICT (id) DO UPDATE SET updated = $3", channel_array)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
channel = fetch_channel(id, client, db)
|
channel = fetch_channel(id, client, db)
|
||||||
|
|
Loading…
Reference in a new issue