File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ async function persistQuery(queryText) {
84
84
85
85
const variables = {
86
86
query : print ( transformedAst ) ,
87
+ // This is your app's app id, edit `/.env` to change it
87
88
appId : process . env . RAZZLE_ONEGRAPH_APP_ID ,
88
89
accessToken : accessToken || null ,
89
90
freeVariables : [ ...freeVariables ] ,
@@ -99,6 +100,10 @@ async function persistQuery(queryText) {
99
100
{
100
101
hostname : 'serve.onegraph.com' ,
101
102
port : 443 ,
103
+ // This is onedash's app id. If you followed the instructions in the
104
+ // README to create the `OG_DASHBOARD_ACCESS_TOKEN`, then this is the
105
+ // app id associated with the token that lets you persist queries.
106
+ // Don't change this to your app id.
102
107
path : '/graphql?app_id=0b066ba6-ed39-4db8-a497-ba0be34d5b2a' ,
103
108
method : 'POST' ,
104
109
headers : {
You can’t perform that action at this time.
0 commit comments