Explorar o código

fix: user update sync

ryanemax hai 8 meses
pai
achega
082c764760
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      server/cloud/authing/func-authing-session-sync.js

+ 2 - 0
server/cloud/authing/func-authing-session-sync.js

@@ -55,6 +55,8 @@ async function syncSessionWithIdToken(token){
     SET 
     "username" = excluded."username",
     "updatedAt"=excluded."updatedAt",
+    "mobile"=excluded."mobile",
+    "phone"=excluded."phone",
     "lastIP"=excluded."lastIP",
     "lastLogin"=excluded."lastLogin",
     "userSourceType"=excluded."userSourceType",