From a3f774242d1092116abdc9d581cbdd2f0c61d6fb Mon Sep 17 00:00:00 2001 From: Stephen Oni Date: Fri, 15 Dec 2023 14:07:15 +0000 Subject: [PATCH] Update index.tsx --- pages/[org]/[dataset]/r/[resource]/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/[org]/[dataset]/r/[resource]/index.tsx b/pages/[org]/[dataset]/r/[resource]/index.tsx index afcde2e..818caf7 100644 --- a/pages/[org]/[dataset]/r/[resource]/index.tsx +++ b/pages/[org]/[dataset]/r/[resource]/index.tsx @@ -40,6 +40,7 @@ const Resource: React.FC<{ variables: any }> = ({ variables }) => { (item) => item.name === variables.resource ); console.log('======= FRONTEND ERROR RESOURCE =========='); + console.log("RESOURCE NAME SERVER: " , variables.resource) if (!resource) { console.log('======= FROTEND RESOURCE NOT AVAILABLE =========='); return ; @@ -126,6 +127,7 @@ export const getServerSideProps: GetServerSideProps = async (context) => { id: context.query.dataset, resource: context.query.resource, }; + console.log("RESOURCE NAME SERVER: " , context.query.resource) await apolloClient.query({ query: GET_DATASET_QUERY,