fix query
This commit is contained in:
parent
d2cfcac05f
commit
754c9f823f
@ -124,7 +124,7 @@ r.put('/channel/:chid/opay/setting', checkSession, getChannelList, hasChannel('c
|
||||
let ed = new Date(ets)
|
||||
|
||||
let text = `insert into "public"."donate_setting" ("twitch", "start_date", "end_date", "target_amount", "title") values
|
||||
($1, $2, $3, $4, $5) returning *
|
||||
($1, $2, $3, $4, $5)
|
||||
on CONFLICT ("twitch") DO UPDATE
|
||||
set
|
||||
"start_date" = $2,
|
||||
|
Loading…
Reference in New Issue
Block a user