summaryrefslogtreecommitdiff
path: root/admin/src/services/apiservice.js
diff options
context:
space:
mode:
authorrohan09-raj <rajrohan1914@gmail.com>2023-01-29 20:21:33 +0530
committerrohan09-raj <rajrohan1914@gmail.com>2023-01-29 20:21:33 +0530
commit7759e6d2de4ecc919f1446e363fc0c2b9269609c (patch)
treecfae5e53befeefaea7b34fa0714c293b06a98e64 /admin/src/services/apiservice.js
parent54d26f03666dd8dc457bd66403d9badd42509296 (diff)
changed api service url
Diffstat (limited to 'admin/src/services/apiservice.js')
-rw-r--r--admin/src/services/apiservice.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/src/services/apiservice.js b/admin/src/services/apiservice.js
index d72a5fb..fa472e3 100644
--- a/admin/src/services/apiservice.js
+++ b/admin/src/services/apiservice.js
@@ -1,16 +1,16 @@
-import axios from 'axios';
+import axios from "axios";
const apiClient = axios.create({
- baseURL: 'http://localhost:5000',
+ baseURL: "https://aadhaar-kiosk-server.onrender.com",
});
export const getVerifiedUsers = async () => {
- const response = await apiClient.get('/users/verified');
+ const response = await apiClient.get("/users/verified");
return response;
};
export const getUnverifiedUsers = async () => {
- const response = await apiClient.get('/users/unverified');
+ const response = await apiClient.get("/users/unverified");
return response;
};
@@ -30,6 +30,6 @@ export const getUpdatingUsers = async () => {
};
export const sendMessage = async (payload) => {
- const response = await apiClient.post('/messages', payload);
+ const response = await apiClient.post("/messages", payload);
return response;
};