Răsfoiți Sursa

fix: user update sync

ryanemax 10 luni în urmă
părinte
comite
082c764760
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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",