- bump up version to 4.0.6

- update dependencies
- remove test phase from CI script
- lint and format all files
This commit is contained in:
Amruth Pillai
2024-03-10 10:35:23 +01:00
parent ec77d13ebd
commit b47b7824ff
23 changed files with 65 additions and 69 deletions

View File

@ -48,7 +48,7 @@ export class AuthController {
private readonly utils: UtilsService,
) {}
private async exchangeToken(id: string, email: string, isTwoFactorAuth: boolean = false) {
private async exchangeToken(id: string, email: string, isTwoFactorAuth = false) {
try {
const payload = payloadSchema.parse({ id, isTwoFactorAuth });
@ -67,8 +67,8 @@ export class AuthController {
private async handleAuthenticationResponse(
user: UserWithSecrets,
response: Response,
isTwoFactorAuth: boolean = false,
redirect: boolean = false,
isTwoFactorAuth = false,
redirect = false,
) {
let status = "authenticated";

View File

@ -4,13 +4,13 @@
"include": [],
"references": [
{
"path": "./tsconfig.app.json",
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.spec.json",
},
"path": "./tsconfig.spec.json"
}
],
"compilerOptions": {
"esModuleInterop": true,
},
"esModuleInterop": true
}
}