fix variable type
This commit is contained in:
parent
0e0ca76afb
commit
fc75c07473
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class CustomImage extends HTMLElement {
|
|||
|
||||
|
||||
var graphql = JSON.stringify({
|
||||
query: "query($url: String) {imgproxy(url: $url)}",
|
||||
query: "query($url: String!) {imgproxy(url: $url)}",
|
||||
variables: {
|
||||
"url": originalURL
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue