From 3c49fb34191173804e291562b63e4aad451439a6 Mon Sep 17 00:00:00 2001 From: meenal Date: Sat, 3 Feb 2024 14:21:50 +0530 Subject: [PATCH] test error resolved --- src/__tests__/query.test.js | 2 +- src/client.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/__tests__/query.test.js b/src/__tests__/query.test.js index 9523bce3..8930a832 100644 --- a/src/__tests__/query.test.js +++ b/src/__tests__/query.test.js @@ -17,7 +17,7 @@ const query = gql` } ` -let uri = '/api/graphql' +let uri = "https://web-app-client-b69l4yjrq-bacpacs-projects.vercel.app/api/graphql" console.log('graphql_uri', uri) const client = new ApolloClient({ link: new HttpLink({ uri, fetch }), diff --git a/src/client.js b/src/client.js index cfaaa5f7..559e744f 100644 --- a/src/client.js +++ b/src/client.js @@ -2,7 +2,6 @@ import { ApolloClient, HttpLink, InMemoryCache } from '@apollo/client' import fetch from 'cross-fetch' -// uri = 'https://web-app-client-flame.vercel.app/api/graphql' let uri = '/api/graphql' // switch (process.env.NEXT_PUBLIC_LOCAL_STATE) { // case 'development':