Re-wrote most all api calls to use fetch over axios. There is still a problem with form authentication with plex. The response we get does not seem to be a json object. Updated what is expected to return from altered api methods in each component that uses them

This commit is contained in:
2019-10-23 00:30:37 +02:00
parent 4a46bbd2be
commit 39cd5ce04a
5 changed files with 84 additions and 30 deletions

View File

@@ -146,8 +146,7 @@ export default {
}
},
methods: {
parseResponse(resp) {
let movie = resp.data;
parseResponse(movie) {
this.movie = { ...movie }
this.title = movie.title
this.poster = movie.poster