Playabl-io / playabl

https://app.playabl.io
GNU Affero General Public License v3.0
7 stars 3 forks source link

Update all usages of `token` to use `Authorization` header #212

Open jongrim opened 9 months ago

jongrim commented 9 months ago

Migrate all instances using axios over to the axios client created in src/api/client which automatically adds the user token as Authorization.

Also migrate uses of fetch to this client.

Update the netlify functions to reference the correct header