Fixes failing test

parent 793192bb
......@@ -48,7 +48,7 @@ export class ProjectLoaderService {
constructor(private i18nManagerApiService: I18nManagerApiService, private userService: UserService) { }
public async isAuthorizedForProject(project: PROJECT): boolean {
public async isAuthorizedForProject(project: PROJECT): Promise<boolean> {
if (!this.userService.isLoggedIn) {
this._isAuthorized = false;
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment