ソースを参照

change the username

Sven Czarnian 2 年 前
コミット
77f3d6e49a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/auth/auth.service.ts

+ 1 - 1
src/auth/auth.service.ts

@@ -91,7 +91,7 @@ export class AuthService {
         }
         }
       });
       });
 
 
-      const payload = { username: userdata.cid, sub: token };
+      const payload = { vatsimId: userdata.cid, sub: token };
       return this.jwtService.sign(payload);
       return this.jwtService.sign(payload);
     }
     }