summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2018-12-06 09:30:48 +1100
committerSimon Knox <psimyn@gmail.com>2018-12-06 09:30:48 +1100
commitab6a588bab21fd652c2cbf46abc0830d2d2966b0 (patch)
treed001e54556a2fab0f79696d98761d13e0458a991
parent84dae02df468e03e49ae69db93baab056a21b8c0 (diff)
downloadgitlab-ce-docs-fe-network.tar.gz
Fix axios case to lowercase to match their docsdocs-fe-network
-rw-r--r--doc/development/new_fe_guide/development/network_requests.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/development/new_fe_guide/development/network_requests.md b/doc/development/new_fe_guide/development/network_requests.md
index 79db2b3c46b..ea7dadef931 100644
--- a/doc/development/new_fe_guide/development/network_requests.md
+++ b/doc/development/new_fe_guide/development/network_requests.md
@@ -1,10 +1,10 @@
# Network requests
-We use [Axios][axios] to handle all of our network requests. Some of our legacy codebase still use Vue-Resource but we are in the process of transitioning that to Axios.
+We use [axios][axios] to handle all of our network requests. Some of our legacy codebase still use Vue-Resource but we are in the process of transitioning that to axios.
## Creating requests
-Since all of our network requests require a CSRF token, we automatically bundle that into a utility file called `axios_utils`. To ensure the token is set, this module should be used instead of using axios directly.
+Since all of our network requests require a CSRF token, we automatically bundle that into a utility file called `axios_utils`. To ensure the token is set, this module should be used instead of importing axios directly.
```
import axios from './lib/utils/axios_utils';
@@ -58,7 +58,7 @@ afterEach(() => {
});
```
-We do not use Axios interceptors because they are not suitable for mocking.
+We do not use axios interceptors because they are not suitable for mocking.
## Testing Polling Requests