From 1568a35cfb429a4ab8761461de9f0d90616340a7 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 12 Oct 2018 22:37:12 -0500 Subject: [PATCH] Add column to video update --- src/invidious/videos.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr index e4ccd3d8..864466a3 100644 --- a/src/invidious/videos.cr +++ b/src/invidious/videos.cr @@ -495,7 +495,7 @@ def get_video(id, db, proxies = {} of String => Array({ip: String, port: Int32}) db.exec("UPDATE videos SET (info,updated,title,views,likes,dislikes,wilson_score,\ published,description,language,author,ucid,allowed_regions,is_family_friendly,\ - genre,genre_url,license)\ + genre,genre_url,license,sub_count_text)\ = (#{args}) WHERE id = $1", video_array) rescue ex db.exec("DELETE FROM videos * WHERE id = $1", id)