feat: Authentication token refresh logic

This commit is contained in:
2026-03-26 15:46:53 -04:00
parent 30c7b8b0b5
commit d758f53176
4 changed files with 58 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
export default defineGraphQLContext(async (event) => {
const wpAuthToken = await getAuthToken(event);
return { wpAuthToken };
const authToken = await getAuthToken(event);
return { authToken };
});