update service name
This commit is contained in:
@@ -53,7 +53,7 @@ class _MihBusinessDetailsState extends State<MihBusinessDetails> {
|
|||||||
Future<void> submitForm() async {
|
Future<void> submitForm() async {
|
||||||
if (isFormFilled()) {
|
if (isFormFilled()) {
|
||||||
int statusCode = 0;
|
int statusCode = 0;
|
||||||
statusCode = await MihBusinessDetailsApi().updateBusinessDetails(
|
statusCode = await MihBusinessDetailsServices().updateBusinessDetails(
|
||||||
widget.arguments.business!.business_id,
|
widget.arguments.business!.business_id,
|
||||||
nameController.text,
|
nameController.text,
|
||||||
typeController.text,
|
typeController.text,
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
|
|||||||
|
|
||||||
Future<void> createBusinessProfileAPICall() async {
|
Future<void> createBusinessProfileAPICall() async {
|
||||||
print("Inside create business profile method");
|
print("Inside create business profile method");
|
||||||
Response response = await MihBusinessDetailsApi().createBusinessDetails(
|
Response response = await MihBusinessDetailsServices().createBusinessDetails(
|
||||||
widget.signedInUser.app_id,
|
widget.signedInUser.app_id,
|
||||||
nameController.text,
|
nameController.text,
|
||||||
typeController.text,
|
typeController.text,
|
||||||
|
|||||||
Reference in New Issue
Block a user