update service to new name
This commit is contained in:
parent
02ec5d4ee9
commit
3d1272dee2
2 changed files with 4 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue