mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
fix(server): duplicate asset (#1540)
This commit is contained in:
@@ -97,7 +97,7 @@ export class AssetController {
|
||||
|
||||
const responseDto = await this.assetService.uploadFile(authUser, dto, file, livePhotoFile);
|
||||
if (responseDto.duplicate) {
|
||||
res.send(200);
|
||||
res.status(200);
|
||||
}
|
||||
|
||||
return responseDto;
|
||||
|
||||
Reference in New Issue
Block a user