setting
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user