remove user ID param from rotues

This commit is contained in:
Alex Holliday committed 2025-07-21 11:05:10 -07:00
1 parent bfa6832beb
commit 12b7819791
2 files changed
+4 -8

No files matched your search

+3 -3
View File
@@ -393,7 +393,7 @@ class NetworkService {
*
*/
async updateUser(config) {
return this.axiosInstance.put(`/auth/user/${config.userId}`, config.form);
return this.axiosInstance.put(`/auth/user`, config.form);
}
/**
@@ -406,8 +406,8 @@ class NetworkService {
* @param {string} config.userId - The ID of the user to be deleted.
*
**/
async deleteUser(config) {
return this.axiosInstance.delete(`/auth/user/${config.userId}`);
async deleteUser() {
return this.axiosInstance.delete(`/auth/user`);
}
/**