Added movie URL file support. Fixed Gamma movie API scraper movie URL.

This commit is contained in:
DebaucheryLibrarian
2022-02-03 00:04:48 +01:00
parent 1dc38ffacc
commit 3d80e9d77b
4 changed files with 15 additions and 3 deletions

View File

@@ -110,6 +110,8 @@ function initReleasesActions(store, router) {
$query: String!
$limit:Int = 20
$offset:Int = 0
$hasAuth: Boolean!
$userId: Int
) {
connection: searchMoviesConnection(
query: $query
@@ -126,6 +128,8 @@ function initReleasesActions(store, router) {
}
}
`, {
hasAuth: !!store.state.auth.user,
userId: store.state.auth.user?.id,
query,
limit,
offset: Math.max(0, (pageNumber - 1)) * limit,