Skip to content

Commit

Permalink
feat(token): use new token format (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaiJi authored Dec 13, 2024
1 parent 70444f6 commit 8fb6c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ wretch.options({ mode: "cors" });
const HOST = "https://api.furryeventchina.com";

const wfetch = wretch(HOST, { cache: "default" })
.auth(`Bearer ${process.env.FEC_API_TOKEN}`)
.auth(`${process.env.FEC_API_TOKEN}`)
.addon(QueryStringAddon);

export default wfetch;

0 comments on commit 8fb6c6e

Please sign in to comment.