High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore: log id of existing asset on duplicate upload (#27266)
bo0tzz78bb6cf926c3
diff --git a/server/src/services/asset-media.service.ts b/server/src/services/asset-media.service.tsindex 10132bbb07..03677054ec 100644--- a/server/src/services/asset-media.service.ts+++ b/server/src/services/asset-media.service.ts@@ -356,6 +356,7 @@ export class AssetMediaService extends BaseService {await this.addToSharedLink(auth.sharedLink, duplicateId);}+ this.logger.debug(`Duplicate asset upload rejected: existing asset ${duplicateId}`);return { status: AssetMediaStatus.DUPLICATE, id: duplicateId };}