Browse Source

fix: user update

ryanemax 8 months ago
parent
commit
1ba40df187
1 changed files with 4 additions and 4 deletions
  1. 4 4
      server/cloud/authing/func-authing-session-sync.js

+ 4 - 4
server/cloud/authing/func-authing-session-sync.js

@@ -54,10 +54,10 @@ async function syncSessionWithIdToken(token){
     ON conflict("objectId") DO UPDATE
     SET 
     "username" = excluded."username",
-    "updatedAt"=excluded."updatedAt";
-    "lastIP"=excluded."lastIP";
-    "lastLogin"=excluded."lastLogin";
-    "userSourceType"=excluded."userSourceType";
+    "updatedAt"=excluded."updatedAt",
+    "lastIP"=excluded."lastIP",
+    "lastLogin"=excluded."lastLogin",
+    "userSourceType"=excluded."userSourceType",
     "loginsCount"=excluded."loginsCount";