From f569a9f72ae9524b9b255fb769383471b935aab9 Mon Sep 17 00:00:00 2001 From: Alex Tugarev Date: Wed, 3 May 2023 15:49:52 +0000 Subject: [PATCH] Add missing await on promise. This fixes the build. --- components/server/src/workspace/gitpod-server-impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/server/src/workspace/gitpod-server-impl.ts b/components/server/src/workspace/gitpod-server-impl.ts index 8c1704352b3c4c..977513c0ad05e3 100644 --- a/components/server/src/workspace/gitpod-server-impl.ts +++ b/components/server/src/workspace/gitpod-server-impl.ts @@ -1312,7 +1312,7 @@ export class GitpodServerImpl implements GitpodServerWithTracing, Disposable { log.info({ userId: this.user.id }, "Updating workspace without orgId."); const userOrg = await this.userToTeamMigrationService.getUserOrganization(this.user); const latestInstance = await this.workspaceDb.trace({}).findCurrentInstance(workspace.id); - this.userToTeamMigrationService.updateWorkspacesOrganizationId( + await this.userToTeamMigrationService.updateWorkspacesOrganizationId( [{ workspace, latestInstance }], userOrg.id, );