0👍
You are missing {}
.then(res => { console.log(res.data.chapters); })
.catch(err => { console.log(err.response.data); })
Source:stackexchange.com
0👍
You are missing {}
.then(res => { console.log(res.data.chapters); })
.catch(err => { console.log(err.response.data); })