Skip to content

Commit

Permalink
fix contact us bugs
Browse files Browse the repository at this point in the history
related #156
  • Loading branch information
tareq-abuaqlain committed Nov 10, 2022
1 parent eb13ef2 commit 803e087
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/Utilities/apiConstatnts.ts
Original file line number Diff line number Diff line change
@@ -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`;
2 changes: 1 addition & 1 deletion client/src/components/LandingPage/ContactUs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ContactUs: React.FC = () => {
sendContactUs(values)
.then(() => {
form.resetFields();
return message.success('تم إرسال الشكوى بنجاح');
return message.success('تم إرسال رسالتك بنجاح');
})
.catch(() => message.error('حدث خطأ ما، يرجى المحاولة لاحقًا'));
};
Expand Down

0 comments on commit 803e087

Please sign in to comment.