Fix SQL_UPSERT in mod_push_sql:store_session

This commit is contained in:
Alexey Shchepin 2021-09-19 06:02:06 +03:00
parent 2f5b15129a
commit 0c403c0f0e
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ store_session(LUser, LServer, NowTS, PushJID, Node, XData) ->
case ?SQL_UPSERT(LServer, "push_session", case ?SQL_UPSERT(LServer, "push_session",
["!username=%(LUser)s", ["!username=%(LUser)s",
"!server_host=%(LServer)s", "!server_host=%(LServer)s",
"!timestamp=%(TS)d", "timestamp=%(TS)d",
"!service=%(Service)s", "!service=%(Service)s",
"!node=%(Node)s", "!node=%(Node)s",
"xml=%(XML)s"]) of "xml=%(XML)s"]) of