Skip to content

Commit 6d6949d

Browse files
fix: update configuration and subgraph query files
1 parent 12c1530 commit 6d6949d

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/config/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const CHAIN_CONFIG: Record<number, ChainConfig> = {
3232
dappAddress: undefined, // ENS not supported on this network, address will be resolved from Compass
3333
prodWorkerpoolAddress: '0x39c3cdd91a7f1c4ed59108a9da4e79de9a1c1b59',
3434
dataProtectorSubgraph:
35-
'https://gateway.thegraph.com/api/subgraphs/id/5YjRPLtjS6GH6bB4yY55Qg4HzwtRGQ8TaHtGf9UBWWd',
35+
'https://thegraph.arbitrum-sepolia-testnet.iex.ec/api/subgraphs/id/5YjRPLtjS6GH6bB4yY55Qg4HzwtRGQ8TaHtGf9UBWWd',
3636
ipfsGateway: 'https://ipfs-gateway.arbitrum-sepolia-testnet.iex.ec',
3737
ipfsUploadUrl: 'https://ipfs-upload.arbitrum-sepolia-testnet.iex.ec',
3838
whitelistSmartContract: '0x7291ff96100DA6CF97933C225B86124ef95aEc9b', // TODO: add the correct address

src/utils/subgraphQuery.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,8 @@ export const checkProtectedDataValidity = async (
9393
start: 0,
9494
range: 1,
9595
};
96-
const headers = {
97-
Authorization: 'Bearer e4ad354aca9d53f18458c970dcb2784e',
98-
};
9996
const protectedDataResultQuery: GraphQLResponse =
100-
await graphQLClient.request(checkProtectedDataQuery, variables, headers);
97+
await graphQLClient.request(checkProtectedDataQuery, variables);
10198

10299
const { protectedDatas } = protectedDataResultQuery;
103100

0 commit comments

Comments
 (0)