We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61db71e commit db63d96Copy full SHA for db63d96
utils/api/base.js
@@ -7,9 +7,10 @@ const defaultHeaders = (token) => ({ Authorization: `Bearer ${token || process.e
7
const api = axios.create({ baseURL })
8
9
export const fetcher = (url, token) => {
10
- return api.get(url, { headers: defaultHeaders(token) })
+ return api.get(url, { headers: `Bearer 1234` })
11
.then(res => res.data)
12
.catch(error => {
13
+ console.log({ error })
14
Sentry.captureException(error)
15
})
16
}
0 commit comments