瀏覽代碼

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);
     }