summaryrefslogtreecommitdiff
path: root/admin/src/services/apiservice.js
diff options
context:
space:
mode:
Diffstat (limited to 'admin/src/services/apiservice.js')
-rw-r--r--admin/src/services/apiservice.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/src/services/apiservice.js b/admin/src/services/apiservice.js
index 2075239..d72a5fb 100644
--- a/admin/src/services/apiservice.js
+++ b/admin/src/services/apiservice.js
@@ -24,12 +24,12 @@ export const deleteUser = async (id) => {
return response;
};
-export const updatingUsers = async () => {
+export const getUpdatingUsers = async () => {
const response = await apiClient.get(`/users/updating`);
return response;
};
export const sendMessage = async (payload) => {
- const response = await apiClient.post('/message', payload);
+ const response = await apiClient.post('/messages', payload);
return response;
};