mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
fix(server): duplicate asset (#1540)
This commit is contained in:
parent
2b0b2bb1ae
commit
3a940711eb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue