Api/v2 #111

Merged
KevinMidboe merged 88 commits from api/v2 into master 2019-11-04 17:01:16 +00:00
Showing only changes of commit e6796aff8b - Show all commits

View File

@@ -86,7 +86,11 @@ class RequestRepository {
} }
throw new Error('Unable to fetch your requests'); throw new Error('Unable to fetch your requests');
}) })
.then((result) => { return result; }); .then((result) => {
// TODO do a correct mapping before sending, not just a dump of the database
result.map(item => item.poster = item.poster_path)
return result
});
} }
updateRequestedById(id, type, status) { updateRequestedById(id, type, status) {