1
0
Fork 0
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:
Jason Rasmussen 2023-02-03 10:17:36 -05:00 committed by GitHub
parent 2b0b2bb1ae
commit 3a940711eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;