From 59efa5d350edc35bf902fff68f33ecf9184fc511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Raiti?= <46955459+Secreto31126@users.noreply.github.com> Date: Sat, 22 Jan 2022 23:42:10 -0300 Subject: [PATCH] Updated README example to be coherent with the CommonJS usage --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d409c79a5b..97da38e77c 100755 --- a/README.md +++ b/README.md @@ -112,7 +112,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')