This commit is contained in:
hamid zarghami
2025-02-28 19:55:03 +03:30
parent d986365f56
commit 00e7ff0b7a
2 changed files with 30 additions and 26 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export const getSettings = async () => {
};
export const updateSettings = async (params: UpdateSettingType) => {
await axios.patch(`/settings/${params.id}/update`, params);
await axios.patch(`/settings/${params.id}/toggle`, params);
};
export const changePassword = async (params: ChangePasswordType) => {