fix: remove brackets around update
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled

This commit is contained in:
William Oldham 2025-02-22 19:15:42 +00:00 committed by GitHub
parent 7f8fad8990
commit a15e473fbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ import (
)
func EndCallRinging(caller types.PID) {
_, err := Postgres.Exec(`UPDATE ongoingcalls SET (ringing = $1) WHERE caller_pid = $2;`, false, caller)
_, err := Postgres.Exec(`UPDATE ongoingcalls SET ringing = $1 WHERE caller_pid = $2;`, false, caller)
if err != nil {
globals.Logger.Critical(err.Error())
return