update date api url

This commit is contained in:
Mohamed Nouffer
2021-09-01 22:11:56 +05:30
parent 81a5fcf7bf
commit 18b2c2f1c0
50 changed files with 99 additions and 99 deletions

View File

@ -57,7 +57,7 @@ function Index() {
async function fetchData() {
// You can await here
if(selectedcons !== "" && report !== "") {
const result = await axios('https://natnats.mobilous.com/getDateToHaveData?construction_id=' + selectedcons + '&sheetname=' + report);
const result = await axios('https://fsbsso.sumasen.net/getDateToHaveData?construction_id=' + selectedcons + '&sheetname=' + report);
setValidDates(result.data.record);
}
}