Closed jacqui closed 2 years ago
What do we still use the content API/token for? Doesn't all the Hasura interaction happen at the next.js level now?
What do we still use the content API/token for? Doesn't all the Hasura interaction happen at the next.js level now?
I just did a pass of all of the code for references to fetchGraphQL
, which is the function that was using those two values. All interactions with Hasura happen through the front-end next.js API, so I've gone through and cleaned up all of the code that was relying on the old Hasura API access. Tested both Admin & Publishing tools sidebars using 'latest code' and all works as expected.
Note once this is merged the sidebar will have to be versioned & republished.
Closes #413
The admin tools now only includes the settings required for the publishing sidebar to function.