Skip to content

Commit a1e5387

Browse files
committed
fix after rebase
1 parent 470d6c2 commit a1e5387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/server/src/workspace/gitpod-server-impl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,7 +1987,7 @@ export class GitpodServerImpl implements GitpodServerWithTracing, Disposable {
19871987

19881988
const user = await this.checkAndBlockUser("updateGitStatus");
19891989

1990-
const workspace = await this.internalGetWorkspace(user, workspaceId, this.workspaceDb.trace(ctx));
1990+
const workspace = await this.workspaceService.getWorkspace(user.id, workspaceId);
19911991
let instance = await this.workspaceDb.trace(ctx).findCurrentInstance(workspaceId);
19921992
if (!instance) {
19931993
throw new ApplicationError(ErrorCodes.NOT_FOUND, `workspace ${workspaceId} has no instance`);
@@ -3304,7 +3304,7 @@ export class GitpodServerImpl implements GitpodServerWithTracing, Disposable {
33043304

33053305
async adminForceStopWorkspace(ctx: TraceContext, workspaceId: string): Promise<void> {
33063306
traceAPIParams(ctx, { workspaceId });
3307-
3307+
33083308
const admin = await this.guardAdminAccess(
33093309
"adminForceStopWorkspace",
33103310
{ id: workspaceId },

0 commit comments

Comments
 (0)