mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-04-16 22:03:17 -05:00
[defaultDataForPath] fix GRAPHQL_VALIDATION_FAILED on scene post (#278)
This commit is contained in:
@@ -158,7 +158,9 @@ function getScenePath(ID) {
|
||||
"\
|
||||
query findScene($id: ID) {\
|
||||
findScene(id: $id) {\
|
||||
path\
|
||||
files {\
|
||||
path\
|
||||
}\
|
||||
}\
|
||||
}";
|
||||
|
||||
@@ -172,7 +174,7 @@ query findScene($id: ID) {\
|
||||
return null;
|
||||
}
|
||||
|
||||
var path = findScene.path;
|
||||
var path = findScene.files[0].path;
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user