Skip to content

Commit c45b81f

Browse files
committed
[db] DBUserSSHPublicKey: Switch to sync deletion
1 parent d56d0c5 commit c45b81f

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

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

468468
public async findAllUsers(

0 commit comments

Comments
 (0)