forked from yaso_meth/mih-project
update service name
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user