mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 11:04:00 +00:00
Don't crash on queries missing names
This commit is contained in:
parent
d9df41a7e1
commit
a028a65732
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ function getQueryNameFromDocument(document) {
|
|||
if (!operationDefinition) {
|
||||
return null
|
||||
}
|
||||
return operationDefinition.name.value;
|
||||
return operationDefinition.name?.value;
|
||||
}
|
||||
|
||||
const extensions = ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue