Skip to content

Commit a623617

Browse files
committed
[db] DBUserSSHPublicKey: Switch to sync deletion
1 parent 03a09a9 commit a623617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/gitpod-db/src/typeorm/user-db-impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export class TypeORMUserDBImpl extends TransactionalDBImpl<UserDB> implements Us
463463

464464
public async deleteSSHPublicKey(userId: string, id: string): Promise<void> {
465465
const repo = await this.getSSHPublicKeyRepo();
466-
await repo.update({ userId, id }, { deleted: true });
466+
await repo.delete({ userId, id });
467467
}
468468

469469
public async findAllUsers(

0 commit comments

Comments
 (0)