summaryrefslogtreecommitdiff
path: root/src/serve.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/serve.rs')
-rw-r--r--src/serve.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serve.rs b/src/serve.rs
index 5696f12..babb3fe 100644
--- a/src/serve.rs
+++ b/src/serve.rs
@@ -100,7 +100,7 @@ pub fn get_tracks(name: String, url: String) -> String {
VALUES ($1, $2, $3)
ON CONFLICT
ON CONSTRAINT track_user_pkey
- DO UPDATE;",
+ DO NOTHING;",
&[&tid, &uid, &0],
)
.unwrap();