forked from DebaucheryLibrarian/traxxx
Added movie URL file support. Fixed Gamma movie API scraper movie URL.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user