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

@@ -2,18 +2,18 @@
"expo": {
"name": "imexmobile",
"slug": "imexmobile",
"version": "1.0.5",
"version": "1.0.7",
"orientation": "default",
"icon": "./assets/logo192noa.png",
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.imex.imexmobile",
"buildNumber": "1.0.6",
"buildNumber": "1.0.7",
"googleServicesFile": "./GoogleService-Info.plist"
},
"android": {
"package": "com.imex.imexmobile",
"versionCode": 5,
"versionCode": 7,
"googleServicesFile": "./google-services.json"
},
"splash": {

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,
},
],
},