Fix syntax issues in auth.guard.ts

Corrected spacing around type annotation and added missing semicolon in the `canActivate` method. These changes ensure better code consistency and adhere to TypeScript style guidelines.
This commit is contained in:
Mathis H (Avnyr) 2024-10-07 12:00:23 +02:00
parent 1818fcfe88
commit aecc22a733
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -120,7 +120,7 @@ export class InsertAdminState implements CanActivate {
return true; return true;
} }
request.headers.is_admin = true request.headers.is_admin = true;
return true; return true;
} }