Closed NatsGt closed 3 years ago
Fetch method that will work with GET, POST, PUT and DELETE
Fixes #216
Set the environment on production (NODE_ENV=production) and test the fetch with the following parameters:
Sometimes the line annotations are bad, I meant a try catch around
try
catch
const token = await getUserToken();
Description
Fetch method that will work with GET, POST, PUT and DELETE
Fixes #216
How to test?
Set the environment on production (NODE_ENV=production) and test the fetch with the following parameters:
Checklist