summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrohan09-raj <rajrohan1914@gmail.com>2022-08-24 16:37:20 +0530
committerrohan09-raj <rajrohan1914@gmail.com>2022-08-24 16:37:20 +0530
commite7c865ec541de142319a570d4fb0ab7b87ee0031 (patch)
tree40616d122e403b7c9e3391e74a2562bb71fe9335
parent3dcee14b37adbc150bff87fa2c228afd9f40db80 (diff)
fixed admin api service
-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 0fbb614..ff5819f 100644
--- a/admin/src/services/apiservice.js
+++ b/admin/src/services/apiservice.js
@@ -5,12 +5,12 @@ const apiClient = axios.create({
});
export const getVerifiedUsers = async () => {
- const response = await apiClient.get('/verifiedusers');
+ const response = await apiClient.get('/users/verified');
return response;
};
export const getUnverifiedUsers = async () => {
- const response = await apiClient.get('/unverifiedusers');
+ const response = await apiClient.get('/users/unverified');
return response;
};