change apis to qa links
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user