API changes

This commit is contained in:
2020-08-22 12:50:50 +05:00
parent 2c319c3305
commit 0ca2d776d5
6 changed files with 15 additions and 11 deletions

View File

@@ -84,7 +84,7 @@ export default {
axios
.get("api/recent")
.then(response => {
this.recentStories = response.data.data;
this.recentStories = response.data.articles.data;
})
.catch(error => {
console.log(error);