diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-05-31 10:29:17 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2019-05-31 10:29:45 -0500 |
| commit | 86d0de4b0e6d77fb1e5772815acf67639176c0cc (patch) | |
| tree | 803e37c5c99bb5e09239b19454aa2b80618ac4ed /src | |
| parent | a95958f9f63ad8a32a3156638406b5881c17b9e6 (diff) | |
| download | invidious-86d0de4b0e6d77fb1e5772815acf67639176c0cc.tar.gz invidious-86d0de4b0e6d77fb1e5772815acf67639176c0cc.tar.bz2 invidious-86d0de4b0e6d77fb1e5772815acf67639176c0cc.zip | |
Fix typo in post webhook
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index e89448e4..fa4ac44d 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -2867,7 +2867,7 @@ post "/feed/webhook/:token" do |env| video_array = video.to_a args = arg_array(video_array) - PG_DB.exec("INSERT INTO channel_videos (id, title, published, updated, ucid, author, length_seconds, live_now, premiere_timestamp) VALUES (#{args}) \ + PG_DB.exec("INSERT INTO channel_videos VALUES (#{args}) \ ON CONFLICT (id) DO UPDATE SET title = $2, published = $3, \ updated = $4, ucid = $5, author = $6, length_seconds = $7, \ live_now = $8, premiere_timestamp = $9, views = $10", video_array) |
