Update astro.com.my.config.js
This commit is contained in:
@@ -108,7 +108,7 @@ async function loadProgramDetails(item) {
|
|||||||
const data = await axios
|
const data = await axios
|
||||||
.get(url)
|
.get(url)
|
||||||
.then(r => r.data)
|
.then(r => r.data)
|
||||||
.catch(err => console.log(err.message))
|
.catch(err => {})
|
||||||
if (!data) return {}
|
if (!data) return {}
|
||||||
|
|
||||||
return data.response || {}
|
return data.response || {}
|
||||||
|
|||||||
Reference in New Issue
Block a user