diff --git a/client/src/Utilities/apiConstatnts.ts b/client/src/Utilities/apiConstatnts.ts index 7404b91..7cdb827 100644 --- a/client/src/Utilities/apiConstatnts.ts +++ b/client/src/Utilities/apiConstatnts.ts @@ -1,6 +1,6 @@ export const BaseURL = '/api/v1/'; -export const contactUsURL = `${BaseURL}contact`; +export const contactUsURL = `${BaseURL}contacts`; export const getBillsURL = `${BaseURL}bills?`; export const sendBillSMSURL = `${BaseURL}bills/sendmessage/`; export const authLogin = `${BaseURL}auth/login`; diff --git a/client/src/components/LandingPage/ContactUs.tsx b/client/src/components/LandingPage/ContactUs.tsx index 8bbaed0..7011d31 100644 --- a/client/src/components/LandingPage/ContactUs.tsx +++ b/client/src/components/LandingPage/ContactUs.tsx @@ -21,7 +21,7 @@ const ContactUs: React.FC = () => { sendContactUs(values) .then(() => { form.resetFields(); - return message.success('تم إرسال الشكوى بنجاح'); + return message.success('تم إرسال رسالتك بنجاح'); }) .catch(() => message.error('حدث خطأ ما، يرجى المحاولة لاحقًا')); };