mirror of
https://github.com/immich-app/immich.git
synced 2026-03-01 18:19:10 +03:00
feat: reset oauth ids (#20798)
This commit is contained in:
@@ -194,6 +194,10 @@ export class UserRepository {
|
||||
.executeTakeFirstOrThrow();
|
||||
}
|
||||
|
||||
async updateAll(dto: Updateable<UserTable>) {
|
||||
await this.db.updateTable('user').set(dto).execute();
|
||||
}
|
||||
|
||||
restore(id: string) {
|
||||
return this.db
|
||||
.updateTable('user')
|
||||
|
||||
Reference in New Issue
Block a user