diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-10-12 22:37:12 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-10-12 22:37:12 -0500 |
| commit | 1568a35cfb429a4ab8761461de9f0d90616340a7 (patch) | |
| tree | 74a97be4f193d32f8fd53324da585c9db5eb69c0 /src | |
| parent | 93082c0a455f0d99a22b2b81a1da66338984be20 (diff) | |
| download | invidious-1568a35cfb429a4ab8761461de9f0d90616340a7.tar.gz invidious-1568a35cfb429a4ab8761461de9f0d90616340a7.tar.bz2 invidious-1568a35cfb429a4ab8761461de9f0d90616340a7.zip | |
Add column to video update
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/videos.cr | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
