sanity
sanity copied to clipboard
Error: "expected '}' following object body" - when trying to fetch multiple types
Hi,
I'm getting this "expected '}' following object body" error when trying to fetch 2 different types.
Here's the query I'm trying to execute:
Have anyone an idea what I am missing?
Thank you!
You should use >
instead of >
. If you want to encode your query for URL fetching, you should type you query in plain text and use encodeURIComponent()
.