summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-03-29 18:50:24 -0500
committerOmar Roth <omarroth@hotmail.com>2018-03-29 18:50:24 -0500
commit385d6301a34831a6ca280d9b18d4b882e72cf5fb (patch)
treeb88a7d9eeaa0b241188ed5d799cb130173e7ec74
parent10f2048d957ce41caee444859e45bb71d5f84148 (diff)
downloadinvidious-385d6301a34831a6ca280d9b18d4b882e72cf5fb.tar.gz
invidious-385d6301a34831a6ca280d9b18d4b882e72cf5fb.tar.bz2
invidious-385d6301a34831a6ca280d9b18d4b882e72cf5fb.zip
Only update time for get_channel
-rw-r--r--src/helpers.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers.cr b/src/helpers.cr
index a26bb310..f8c7af05 100644
--- a/src/helpers.cr
+++ b/src/helpers.cr
@@ -506,7 +506,7 @@ def get_channel(id, client, db)
args = arg_array(channel_array)
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
else
channel = fetch_channel(id, client, db)