change password

This commit is contained in:
hamid zarghami
2025-02-03 15:38:04 +03:30
parent 1db7653cb2
commit f4263283dc
4 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -11,5 +11,5 @@ export const updateSettings = async (params: UpdateSettingType) => {
};
export const changePassword = async (params: ChangePasswordType) => {
await axios.post(`/settings/password`, params);
await axios.patch(`/auth/password`, params);
};