summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/invidious.cr1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 8f7bf2ee..de247592 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -138,6 +138,7 @@ channel_threads.times do |i|
begin
id = rs.read(String)
channel = fetch_channel(id, client, PG_DB, false)
+ PG_DB.exec("UPDATE channels SET updated = $1 WHERE id = $2", Time.now, id)
rescue ex
STDOUT << id << " : " << ex.message << "\n"
next