diff --git a/admin/src/components/admin-root/admin-root.component.jsx b/admin/src/components/admin-root/admin-root.component.jsx index bb650ed88..7ef2edf01 100644 --- a/admin/src/components/admin-root/admin-root.component.jsx +++ b/admin/src/components/admin-root/admin-root.component.jsx @@ -28,7 +28,7 @@ import JobsShow from "../jobs/jobs.show"; const httpLink = new HttpLink({ uri: process.env.REACT_APP_GRAPHQL_ENDPOINT, headers: { - "x-hasura-admin-secret": `Dev-BodyShopAppBySnaptSoftware!`, + "x-hasura-admin-secret": `Dev-BodyShopApp!`, // 'Authorization': `Bearer xxxx`, }, }); @@ -67,7 +67,7 @@ const client = new ApolloClient({ // uri: process.env.REACT_APP_GRAPHQL_ENDPOINT, // cache: new InMemoryCache(), // headers: { -// "x-hasura-admin-secret": `Dev-BodyShopAppBySnaptSoftware!`, +// "x-hasura-admin-secret": `Dev-BodyShopApp!`, // // 'Authorization': `Bearer xxxx`, // }, // }); diff --git a/firebase/readme.md b/firebase/readme.md index fba8d7a35..a1b2e503b 100644 --- a/firebase/readme.md +++ b/firebase/readme.md @@ -1,4 +1,3 @@ +Must set the environment variables using: -Must set the environment variables using: - -firebase functions:config:set auth.graphql_endpoint="https://bodyshop-dev-db.herokuapp.com/v1/graphql" auth.hasura_secret_admin_key="Dev-BodyShopAppBySnaptSoftware!" \ No newline at end of file +firebase functions:config:set auth.graphql_endpoint="https://bodyshop-dev-db.herokuapp.com/v1/graphql" auth.hasura_secret_admin_key="Dev-BodyShopApp!" diff --git a/hasura/config.yaml b/hasura/config.yaml index 3dda55b42..b3b3d8636 100644 --- a/hasura/config.yaml +++ b/hasura/config.yaml @@ -1,2 +1,2 @@ endpoint: https://bodyshop-dev-db.herokuapp.com -admin_secret: Dev-BodyShopAppBySnaptSoftware! \ No newline at end of file +admin_secret: Dev-BodyShopApp!