update service name
This commit is contained in:
parent
2fa48e98f6
commit
cd40114c92
2 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ class _MihBusinessDetailsState extends State<MihBusinessDetails> {
|
|||
Future<void> submitForm() async {
|
||||
if (isFormFilled()) {
|
||||
int statusCode = 0;
|
||||
statusCode = await MihBusinessDetailsApi().updateBusinessDetails(
|
||||
statusCode = await MihBusinessDetailsServices().updateBusinessDetails(
|
||||
widget.arguments.business!.business_id,
|
||||
nameController.text,
|
||||
typeController.text,
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
|
|||
|
||||
Future<void> createBusinessProfileAPICall() async {
|
||||
print("Inside create business profile method");
|
||||
Response response = await MihBusinessDetailsApi().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