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 1a1a7328a3 - Show all commits

View File

@@ -111,6 +111,7 @@ class RequestRepository {
.then(() => this.sortAndFilterToDbQuery(sort_by, sort_direction, filter_param, query))
.then((dbQuery) => this.database.all(dbQuery))
.then((rows) => Promise.all(this.mapToTmdbByType(rows)))
.then(result => Promise.resolve({results: result, total_results: result.length}))
}
}