2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

Updated README example to be coherent with the CommonJS usage (#4418)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Tomás Raiti
2022-03-07 04:35:48 -03:00
committed by GitHub
parent 2396fcd7e9
commit 45cb5ad716
+1 -1
View File
@@ -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')