Frontend #81

Merged
KevinMidboe merged 5 commits from frontend into master 2018-02-07 13:38:17 +00:00
Showing only changes of commit 952fe7220e - Show all commits

View File

@@ -33,7 +33,7 @@ class AdminComponent extends React.Component {
fetchJSON('https://apollo.kevinmidboe.com/api/v1/plex/requests/all', 'GET') fetchJSON('https://apollo.kevinmidboe.com/api/v1/plex/requests/all', 'GET')
.then(result => { .then(result => {
this.setState({ this.setState({
requested_objects: result.requestedItems.reverse() requested_objects: result.results.reverse()
}) })
}) })
} }