Skip to content

Commit 377ba6d

Browse files
authored
Fix GraphQL Validation is Failing for timestampTrade and TPBMarkers (#608)
1 parent a313a93 commit 377ba6d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

plugins/TPDBMarkers/tpdbMarkers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,9 @@ def processGroup(g):
202202
PLUGIN_ARGS = json_input["args"]["mode"]
203203
if "processScene" == PLUGIN_ARGS:
204204
if "scene_id" in json_input["args"]:
205-
scene = stash.find_scene(json_input["args"]["scene_id"])
205+
scene = stash.find_scene(
206+
json_input["args"]["scene_id"],
207+
fragment='id urls stash_ids {endpoint stash_id} groups {scene_index group {id}} tags {id} scene_markers {id} interactive files { path duration fingerprint(type: "phash")}')
206208
processScene(scene)
207209
else:
208210
processAll()

plugins/timestampTrade/timestampTrade.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,9 @@ def excluded_marker_tag(marker):
14431443
"id"
14441444
)
14451445
if "scene_id" in json_input["args"]:
1446-
scene = stash.find_scene(json_input["args"]["scene_id"])
1446+
scene = stash.find_scene(
1447+
json_input["args"]["scene_id"],
1448+
fragment='id urls stash_ids {endpoint stash_id} groups {scene_index group {id}} tags {id} scene_markers {id} interactive files { path duration fingerprint(type: "phash")}')
14471449
processScene(scene)
14481450
else:
14491451
query = {

0 commit comments

Comments
 (0)