git stash push -m "work in progress"
This commit is contained in:
1 parent
c30d6019df
commit
468a67f937
9 files changed
+230
-7
No files matched your search
@@ -1136,6 +1136,16 @@ class NetworkService {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
async changePasswordByAdmin(config) {
|
||||
const { userId, passwordForm } = config;
|
||||
console.log("Password form data:", passwordForm);
|
||||
return this.axiosInstance.put(`auth/users/${userId}/password`, passwordForm, {
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export default NetworkService;
|
||||
|
||||
Reference in new issue
Block a user