diff --git a/app/Services/APIs/CustomerAPIs/ContactUsApiServices.php b/app/Services/APIs/CustomerAPIs/ContactUsApiServices.php index d8f978c..405e891 100644 --- a/app/Services/APIs/CustomerAPIs/ContactUsApiServices.php +++ b/app/Services/APIs/CustomerAPIs/ContactUsApiServices.php @@ -34,7 +34,7 @@ class ContactUsApiServices //response data Log::info('Contact form data Created successfully'); - return jsonResponseWithSuccessMessageApi(__('success.save_data'), [], 201); + return jsonResponseWithSuccessMessageApi(__('success.message_sent'), [], 201); } else { Log::error('Contact not found in addVendorContactForm.'); return jsonResponseWithErrorMessageApi(__('auth.validation_failed'), 403); diff --git a/app/Services/APIs/RestaurantService/RestCMSService.php b/app/Services/APIs/RestaurantService/RestCMSService.php index 9003759..9c6e98c 100644 --- a/app/Services/APIs/RestaurantService/RestCMSService.php +++ b/app/Services/APIs/RestaurantService/RestCMSService.php @@ -162,7 +162,7 @@ class RestCMSService //response data Log::info('Contact form data Created successfully'); - return jsonResponseWithSuccessMessageApi(__('success.save_data'), [], 201); + return jsonResponseWithSuccessMessageApi(__('success.message_sent'), [], 201); } else { Log::error('Contact not found in addVendorContactForm.'); return jsonResponseWithErrorMessageApi(__('auth.validation_failed'), 403); diff --git a/resources/lang/en/success.php b/resources/lang/en/success.php index 122584c..fd63e74 100644 --- a/resources/lang/en/success.php +++ b/resources/lang/en/success.php @@ -36,6 +36,7 @@ return [ 'redeemed_successfully' => 'Referral code redeemed successfully.', 'save_data_scheduled' => 'Notification Schedule Successfully.', 'save_data_immediate' => 'Notification Sent Successfully.', + 'message_sent' => 'Your message has been sent.' ];