Fix marking read a single call history
This commit is contained in:
parent
ff5ecd8bf3
commit
a815d81c6c
1 changed files with 1 additions and 1 deletions
|
@ -3525,7 +3525,7 @@ async function markCallHistoryRead(callId: string): Promise<void> {
|
||||||
const [query, params] = sql`
|
const [query, params] = sql`
|
||||||
UPDATE messages
|
UPDATE messages
|
||||||
SET
|
SET
|
||||||
seenStatus = ${SEEN_STATUS_UNSEEN}
|
seenStatus = ${SEEN_STATUS_SEEN},
|
||||||
json = json_patch(json, ${jsonPatch})
|
json = json_patch(json, ${jsonPatch})
|
||||||
WHERE type IS 'call-history'
|
WHERE type IS 'call-history'
|
||||||
AND callId IS ${callId}
|
AND callId IS ${callId}
|
||||||
|
|
Loading…
Reference in a new issue