fix variable type

This commit is contained in:
Jonas Leder 2022-05-01 12:56:43 +02:00
parent 0e0ca76afb
commit fc75c07473
No known key found for this signature in database
GPG key ID: CC3C488E27DFF5CA

View file

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