Explorar el Código

change the username

Sven Czarnian hace 2 años
padre
commit
77f3d6e49a
Se han modificado 1 ficheros con 1 adiciones y 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);
     }