mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-15 12:45:53 +00: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