Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(web): quota enhancement #6371

Merged
merged 12 commits into from
Jan 15, 2024
10 changes: 9 additions & 1 deletion server/src/domain/asset/asset.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,15 @@ export class AssetService {
async handleAssetDeletion(job: IAssetDeletionJob) {
const { id, fromExternal } = job;

const asset = await this.assetRepository.getById(id);
const asset = await this.assetRepository.getById(id, {
alextran1502 marked this conversation as resolved.
Show resolved Hide resolved
faces: {
person: true,
},
library: true,
stack: true,
exifInfo: true,
});

if (!asset) {
return false;
}
Expand Down
Loading