Explorar o código

change the username

Sven Czarnian %!s(int64=2) %!d(string=hai) anos
pai
achega
77f3d6e49a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
     }