Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Easybuoy committed Nov 13, 2019
1 parent 649229b commit 6f16243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const getMovies = () => dispatch => {
return axios
.get('https://cors-anywhere.herokuapp.com/https://swapi.co/api/films')

.then(res => {
.then(res => { console.log(res.data)
addMovieListToLocalStorage(res.data.results)
dispatch(setMovies(res.data.results))
})
Expand Down

0 comments on commit 6f16243

Please sign in to comment.