Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix contact us bugs #157

Merged
merged 1 commit into from
Nov 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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