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.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;
};