mirror of
https://github.com/Art051/immich.git
synced 2025-08-11 19:29:00 +00:00
infra(server)!: fix typeorm asset entity relations (#1782)
* fix: add correct relations to asset typeorm entity * fix: add missing createdAt column to asset entity * ci: run check to make sure generated API is up-to-date * ci: cancel workflows that aren't for the latest commit in a branch * chore: add fvm config for flutter
This commit is contained in:
@@ -61,7 +61,7 @@ export class UserDeletionProcessor {
|
||||
await this.albumRepository.remove(albums);
|
||||
|
||||
await this.apiKeyRepository.delete({ userId: user.id });
|
||||
await this.assetRepository.delete({ userId: user.id });
|
||||
await this.assetRepository.delete({ ownerId: user.id });
|
||||
await this.userRepository.remove(user);
|
||||
} catch (error: any) {
|
||||
this.logger.error(`Failed to remove user`);
|
||||
|
||||
Reference in New Issue
Block a user