Documents to use cloudinary size, not actual file size.

This commit is contained in:
Patrick Fic
2021-05-04 09:09:32 -07:00
parent 0929ef3f49
commit 02e0f7ba7d
2 changed files with 4 additions and 4 deletions

View File

@@ -153,7 +153,7 @@ export const uploadToCloudinary = async (
type: fileType,
extension: extension,
bodyshopid: bodyshop.id,
size: file.size,
size: cloudinaryUploadResponse.data.bytes || file.size,
},
],
},