diff --git a/server/apps/immich/src/api-v1/asset/asset.controller.ts b/server/apps/immich/src/api-v1/asset/asset.controller.ts index d0cf3af6a5..391db66936 100644 --- a/server/apps/immich/src/api-v1/asset/asset.controller.ts +++ b/server/apps/immich/src/api-v1/asset/asset.controller.ts @@ -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;