diff --git a/src/utils/subgraph.ts b/src/utils/subgraph.ts index 2c8998930..2cf0df0c2 100644 --- a/src/utils/subgraph.ts +++ b/src/utils/subgraph.ts @@ -75,7 +75,8 @@ async function fetchData( const client = getApolloClientInstance() const response = await client.query({ query: query, - variables: variables + variables: variables, + fetchPolicy: 'no-cache' }) return response } catch (error) { @@ -142,6 +143,7 @@ export async function getAssetPrices(assets: DDO[]): Promise { } export async function getPrice(asset: DDO): Promise { + console.log('get price', asset) const freVariables = { datatoken: asset?.dataToken.toLowerCase() }