minio storage uploud fix pt9
This commit is contained in:
@@ -93,7 +93,8 @@ class MihMyBusinessUserServices {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
var filename = signatureFileName.replaceAll(RegExp(r' '), '-');
|
var filename = signatureFileName.replaceAll(RegExp(r' '), '-');
|
||||||
var filePath = "$app_id/business_files/$signatureFileName";
|
var filePath =
|
||||||
|
"$app_id/business_files/${signatureFileName.replaceAll(RegExp(r' '), '-')}";
|
||||||
var response = await http.put(
|
var response = await http.put(
|
||||||
Uri.parse("${AppEnviroment.baseApiUrl}/business-user/update/"),
|
Uri.parse("${AppEnviroment.baseApiUrl}/business-user/update/"),
|
||||||
headers: <String, String>{
|
headers: <String, String>{
|
||||||
@@ -103,7 +104,7 @@ class MihMyBusinessUserServices {
|
|||||||
"business_id": business_id,
|
"business_id": business_id,
|
||||||
"app_id": app_id,
|
"app_id": app_id,
|
||||||
"signature": filename,
|
"signature": filename,
|
||||||
"sig_path": filePath.replaceAll(RegExp(r' '), '-'),
|
"sig_path": filePath,
|
||||||
"title": bUserTitle,
|
"title": bUserTitle,
|
||||||
"access": bUserAccess,
|
"access": bUserAccess,
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user