react-native-timacare 3.1.26-production → 3.1.27-production
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/services/api/api.js +1 -1
- package/lib/commonjs/services/api/api.js.flow +3 -3
- package/lib/commonjs/services/api/api.js.map +1 -1
- package/lib/module/services/api/api.js +1 -1
- package/lib/module/services/api/api.js.map +1 -1
- package/package.json +1 -1
- package/src/services/api/api.ts +3 -3
|
@@ -988,7 +988,7 @@ export class Api {
|
|
|
988
988
|
|
|
989
989
|
async ekycNationalCard(params, loanbriefId) {
|
|
990
990
|
// make the api call
|
|
991
|
-
const response: ApiResponse<any> = await this.
|
|
991
|
+
const response: ApiResponse<any> = await this.apisauce.post(`api/v1.0/lendingonline/ekyc_national_card?loanbriefId=${loanbriefId}`, params, {
|
|
992
992
|
headers: {
|
|
993
993
|
'content-type': 'multipart/form-data'
|
|
994
994
|
}
|
|
@@ -1327,10 +1327,10 @@ export class Api {
|
|
|
1327
1327
|
|
|
1328
1328
|
async uploadImage(body) {
|
|
1329
1329
|
// make the api call
|
|
1330
|
-
const response: ApiResponse<any> = await this.
|
|
1330
|
+
const response: ApiResponse<any> = await this.apisauce.post(`api/v1.0/file/upload_image`, body, {
|
|
1331
1331
|
headers: {
|
|
1332
1332
|
'Content-Type': 'multipart/form-data',
|
|
1333
|
-
|
|
1333
|
+
|
|
1334
1334
|
},
|
|
1335
1335
|
})
|
|
1336
1336
|
myLog(response)
|