You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I posted about this in the the howtographql repo, but it looks like that repo is pretty unmaintained. My issue also has to do specifically with this repo as well:
A workaround to this problem is by making signup and login mutations to the server before you make any other mutations so the getUserId function from the utils file would not return null value.
You should query token in the login mutation and use the returned token in the Authorization field of HTTP HEADERS.
Make sure to always set Authorization field with the token you obtained from the login query so you are authorized to make the post mutation.
Hi,
I posted about this in the the
howtographql
repo, but it looks like that repo is pretty unmaintained. My issue also has to do specifically with this repo as well:howtographql/howtographql#1217 (comment)
Would greatly appreciate any help here. Thank you!
The text was updated successfully, but these errors were encountered: