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
Put the token inside authorization in the Header option of the fetch parameter const response = await fetch(url, { headers: { authorization: "token YOUR TOKEN", }, });
And that's it, problem solved
Feel free to ping me if you face any other problem @Radioactive92177
The text was updated successfully, but these errors were encountered:
Those of you who are facing the Authorization error from Github as they have deprecated the query parameter method, here's what you have to do
const response = await fetch(url, { headers: { authorization: "token YOUR TOKEN", }, });
And that's it, problem solved
Feel free to ping me if you face any other problem @Radioactive92177
The text was updated successfully, but these errors were encountered: