Skip to content

Commit

Permalink
fix(axios): change axios version + remove useless axios import
Browse files Browse the repository at this point in the history
  • Loading branch information
gfitas committed Nov 2, 2021
1 parent 192e4a3 commit d6ba497
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"typescript": "^4.0.3"
},
"dependencies": {
"axios": "^0.20.0"
"axios": "^0.21.1"
},
"commitlint": {
"extends": [
Expand Down
1 change: 0 additions & 1 deletion src/http/request.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import axios, { AxiosRequestConfig, AxiosResponse, AxiosError, Method } from 'axios'
import Context from '../context'
import Response from './response'
import Axios from 'axios'

export class RequestError extends Error {
private request: Request | undefined
Expand Down

0 comments on commit d6ba497

Please sign in to comment.