forked from yaso_meth/mih-project
update service to new name
This commit is contained in:
@@ -90,7 +90,7 @@ class _MihMyBusinessUserState extends State<MihMyBusinessUser> {
|
||||
|
||||
Future<void> submitForm() async {
|
||||
if (isFormFilled()) {
|
||||
int statusCode = await MihMyBusinessUserApi().updateBusinessUser(
|
||||
int statusCode = await MihMyBusinessUserServices().updateBusinessUser(
|
||||
widget.arguments.signedInUser.app_id,
|
||||
widget.arguments.businessUser!.business_id,
|
||||
titleDropdownController.text,
|
||||
|
||||
@@ -86,7 +86,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
|
||||
|
||||
Future<void> createBusinessUserAPICall(String business_id) async {
|
||||
print("Inside create bus user method");
|
||||
int statusCode = await MihMyBusinessUserApi().createBusinessUser(
|
||||
int statusCode = await MihMyBusinessUserServices().createBusinessUser(
|
||||
business_id,
|
||||
widget.signedInUser.app_id,
|
||||
signtureController.text,
|
||||
@@ -111,7 +111,8 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
|
||||
|
||||
Future<void> createBusinessProfileAPICall() async {
|
||||
print("Inside create business profile method");
|
||||
Response response = await MihBusinessDetailsServices().createBusinessDetails(
|
||||
Response response =
|
||||
await MihBusinessDetailsServices().createBusinessDetails(
|
||||
widget.signedInUser.app_id,
|
||||
nameController.text,
|
||||
typeController.text,
|
||||
|
||||
Reference in New Issue
Block a user