Fix lint error

This commit is contained in:
Stan Wohlwend 2024-05-09 11:39:59 +02:00
parent 7403e78251
commit a3f3b09072

View File

@ -913,7 +913,7 @@ class _StackServerAppImpl<HasTokenStore extends boolean, ProjectId extends strin
});
private readonly _serverUserCache = createCache<string[], ServerUserJson | null>(async ([userId]) => {
const user = await this._interface.getServerUserById(userId);
return await Result.or(user, null);
return Result.or(user, null);
});
private readonly _serverTeamsCache = createCache(async () => {
return await this._interface.listTeams();