Skip to content

Commit

Permalink
fix typo in recordset usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Supinic committed Nov 6, 2024
1 parent c85c740 commit 39155fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chat-modules/supinic-stream-db/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ export const definition = {

// Clear all pending song requests, set song request status to "off"
await sb.Cache.setByPrefix(SONG_REQUESTS_STATE, "off");
await sb.Query.isRecordUpdater(ru => ru
.from("chat_data", "Song_Request")
await sb.Query.getRecordUpdater(ru => ru
.update("chat_data", "Song_Request")
.set("Status", "Inactive")
.where("Status <> %s", "Inactive")
)
Expand Down

0 comments on commit 39155fb

Please sign in to comment.