mirror of
https://github.com/docmost/docmost.git
synced 2026-05-16 14:14:06 +08:00
fix: add missing awaits (#814)
This commit is contained in:
@@ -39,7 +39,7 @@ export class WorkspaceService {
|
||||
}
|
||||
|
||||
async getWorkspaceInfo(workspaceId: string) {
|
||||
const workspace = this.workspaceRepo.findById(workspaceId);
|
||||
const workspace = await this.workspaceRepo.findById(workspaceId);
|
||||
if (!workspace) {
|
||||
throw new NotFoundException('Workspace not found');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user