From 260e6ec734fd9531a38e4332f1f13bb8ad391b28 Mon Sep 17 00:00:00 2001 From: Pritimay Sarkar Date: Tue, 7 Nov 2023 10:52:33 +0530 Subject: [PATCH] change apis to qa links --- src/components/ExportData.js | 2 +- src/components/Registration.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ExportData.js b/src/components/ExportData.js index 608e81d..bc0a4d5 100644 --- a/src/components/ExportData.js +++ b/src/components/ExportData.js @@ -11,7 +11,7 @@ function ExportData({ url, show }) { const [endDate, setEndDate] = useState(""); const fetchFile = (start_date, end_date) => { - window.location.href = `https://asia-south1-hpos-preprod.cloudfunctions.net/consolidation?start_date=${moment(startDate).format("YYYY-MM-DD")}&end_date=${moment(endDate).format("YYYY-MM-DD")}`; + window.location.href = `https://asia-south1-hpos-qa.cloudfunctions.net/consolidation?start_date=${moment(startDate).format("YYYY-MM-DD")}&end_date=${moment(endDate).format("YYYY-MM-DD")}`; } return ( diff --git a/src/components/Registration.js b/src/components/Registration.js index 52c4b4a..7a4a91f 100644 --- a/src/components/Registration.js +++ b/src/components/Registration.js @@ -16,7 +16,7 @@ function Registration() { setCounter(counter + 1); axios({ method: 'post', - url: "https://asia-south1-hpos-preprod.cloudfunctions.net/registerUser", + url: "https://asia-south1-hpos-qa.cloudfunctions.net/registerUser", data: { "_id": id, "aadharId": "2808202300001", @@ -65,7 +65,7 @@ function Registration() { setMessage(""); axios({ method: 'get', - url: "https://asia-south1-hpos-preprod.cloudfunctions.net/clearUsers", + url: "https://asia-south1-hpos-qa.cloudfunctions.net/clearUsers", withCredentials: false, secure: false, headers: {