Skip to content

Commit

Permalink
Updated README example to be coherent with the CommonJS usage (#4418)
Browse files Browse the repository at this point in the history
Co-authored-by: Jay <jasonsaayman@gmail.com>
  • Loading branch information
Secreto31126 and jasonsaayman committed Mar 7, 2022
1 parent 2396fcd commit 45cb5ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -113,7 +113,7 @@ const axios = require('axios').default;
Performing a `GET` request

```js
const axios = require('axios');
const axios = require('axios').default;

// Make a request for a user with a given ID
axios.get('/user?ID=12345')
Expand Down

0 comments on commit 45cb5ad

Please sign in to comment.