Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: typo on optional chaining (#2453)

Fixes a typo where `authState`'s `refreshToken` is accessed with `!.`
instead of `?.`.

authored by

Esteban Borai and committed by
GitHub
6a84630d f89cfd06

+1 -1
+1 -1
exchanges/auth/README.md
··· 88 88 // if your refresh logic is in graphQL, you must use this mutate function to call it 89 89 // if your refresh logic is a separate RESTful endpoint, use fetch or similar 90 90 const result = await mutate(refreshMutation, { 91 - token: authState!.refreshToken, 91 + token: authState?.refreshToken, 92 92 }); 93 93 94 94 if (result.data?.refreshLogin) {