1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Minor change on the query parameter

This commit is contained in:
Anamaria Loznianu 2022-10-04 15:34:49 +03:00
parent 64fc688b87
commit 1d3c5ef639

View File

@ -258,15 +258,13 @@ Use GraphQL querys as datasource.
{ {
"type": "graphql", "type": "graphql",
"url": "http://172.15.0.15:8000/subgraphs/name/oceanprotocol/ocean-subgraph", "url": "http://172.15.0.15:8000/subgraphs/name/oceanprotocol/ocean-subgraph",
"query": """ "query": """query{
query{
nfts(orderBy: createdTimestamp,orderDirection:desc){ nfts(orderBy: createdTimestamp,orderDirection:desc){
id id
symbol symbol
createdTimestamp createdTimestamp
} }
} }"""
"""
} }
``` ```