We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65cc4e commit a1fc587Copy full SHA for a1fc587
components/server/src/workspace/workspace-service.ts
@@ -233,10 +233,8 @@ export class WorkspaceService {
233
}
234
235
async getWorkspace(userId: string, workspaceId: string): Promise<WorkspaceInfo> {
236
- const [workspace, latestInstance] = await Promise.all([
237
- this.doGetWorkspace(userId, workspaceId),
238
- this.db.findCurrentInstance(workspaceId),
239
- ]);
+ const workspace = await this.doGetWorkspace(userId, workspaceId);
+ const latestInstance = await this.db.findCurrentInstance(workspaceId);
240
241
return {
242
workspace,
0 commit comments