Skip to content

Commit c7d19e6

Browse files
committed
[db] DBUserSSHPublicKey: Switch to sync deletion
1 parent 1de8fce commit c7d19e6

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
@@ -465,7 +465,7 @@ export class TypeORMUserDBImpl extends TransactionalDBImpl<UserDB> implements Us
465465

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

471471
public async findAllUsers(

0 commit comments

Comments
 (0)