Only update time for get_channel

pull/3/head
Omar Roth 2018-03-29 18:50:24 -05:00
rodzic 10f2048d95
commit 385d6301a3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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)