Skip to content

Commit

Permalink
fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloose committed Nov 29, 2024
1 parent 3f8d676 commit 847119f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stiller-backend/pkg/dbutils/generals.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const (
func UpdateSlot(gallery string, ref string, updater SlotUpdateFlag, newval any, conn *sqlite.Conn) error {
base_update_stmt := sqlf.
Update("galleryslot").
Where("gallery in (select id from gallery where id = ?) ? and slotid = ?", gallery, ref)
Where("gallery in (select id from gallery where id = ?) and slotid = ?", gallery, ref)

switch (updater) {
case UPDATE_RES:
Expand Down

0 comments on commit 847119f

Please sign in to comment.