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

View File

@@ -97,7 +97,7 @@ export class AssetController {
const responseDto = await this.assetService.uploadFile(authUser, dto, file, livePhotoFile); const responseDto = await this.assetService.uploadFile(authUser, dto, file, livePhotoFile);
if (responseDto.duplicate) { if (responseDto.duplicate) {
res.send(200); res.status(200);
} }
return responseDto; return responseDto;