Skip to content

Commit

Permalink
[db] DBUserSSHPublicKey: Switch to sync deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
geropl committed Sep 28, 2023
1 parent d293912 commit 15ca4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/gitpod-db/src/typeorm/user-db-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ export class TypeORMUserDBImpl extends TransactionalDBImpl<UserDB> implements Us

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

public async findAllUsers(
Expand Down

0 comments on commit 15ca4bd

Please sign in to comment.