[defaultDataForPath] fix GRAPHQL_VALIDATION_FAILED on scene post (#278)

This commit is contained in:
Muldec
2024-03-14 15:04:09 +01:00
committed by GitHub
parent 428757932e
commit 0b8473f5b1

View File

@@ -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;
}