Resolved Document upload size limit & email attachments

This commit is contained in:
Patrick Fic
2021-04-21 15:26:38 -07:00
parent 09e1ab7f83
commit e57f4b7382
5 changed files with 8 additions and 7 deletions

View File

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