about summary refs log tree commit diff
path: root/users/grfn/bbbg/src
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-12-26T17·02-0500
committerclbot <clbot@tvl.fyi>2021-12-26T17·23+0000
commit8158edbafa1ab7d563c4759454eba4ba0592d972 (patch)
tree964145f9d0af93c59d650c8616dfd525b7f094e5 /users/grfn/bbbg/src
parent4bbadfb93003d12289e9165c612c7f05c8df4bdf (diff)
fix(grfn/bbbg): Fix honeysql syntax for upsert r/3434
Change-Id: I49eb046a1897794442c748e81560de76684eda01
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4669
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn/bbbg/src')
-rw-r--r--users/grfn/bbbg/src/bbbg/db/attendee.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/grfn/bbbg/src/bbbg/db/attendee.clj b/users/grfn/bbbg/src/bbbg/db/attendee.clj
index d5d6011e2c10..91e13e07f860 100644
--- a/users/grfn/bbbg/src/bbbg/db/attendee.clj
+++ b/users/grfn/bbbg/src/bbbg/db/attendee.clj
@@ -60,8 +60,8 @@
                        (db/process-key-map :attendee)
                        (u/map-keys keyword))
                  attendees)
-    :upsert [[:on-conflict [:meetup-user-id]]
-             [:do-update-set [:meetup-name]]]
+    :upsert {:on-conflict [:meetup-user-id]
+             :do-update-set [:meetup-name]}
     :returning [:id :meetup-user-id]}))
 
 (comment