change apis to qa links
This commit is contained in:
@@ -11,7 +11,7 @@ function ExportData({ url, show }) {
|
|||||||
const [endDate, setEndDate] = useState("");
|
const [endDate, setEndDate] = useState("");
|
||||||
|
|
||||||
const fetchFile = (start_date, end_date) => {
|
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 (
|
return (
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ function Registration() {
|
|||||||
setCounter(counter + 1);
|
setCounter(counter + 1);
|
||||||
axios({
|
axios({
|
||||||
method: 'post',
|
method: 'post',
|
||||||
url: "https://asia-south1-hpos-preprod.cloudfunctions.net/registerUser",
|
url: "https://asia-south1-hpos-qa.cloudfunctions.net/registerUser",
|
||||||
data: {
|
data: {
|
||||||
"_id": id,
|
"_id": id,
|
||||||
"aadharId": "2808202300001",
|
"aadharId": "2808202300001",
|
||||||
@@ -65,7 +65,7 @@ function Registration() {
|
|||||||
setMessage("");
|
setMessage("");
|
||||||
axios({
|
axios({
|
||||||
method: 'get',
|
method: 'get',
|
||||||
url: "https://asia-south1-hpos-preprod.cloudfunctions.net/clearUsers",
|
url: "https://asia-south1-hpos-qa.cloudfunctions.net/clearUsers",
|
||||||
withCredentials: false,
|
withCredentials: false,
|
||||||
secure: false,
|
secure: false,
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
Reference in New Issue
Block a user