summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Tang <dennis@dennistang.net>2018-05-14 11:31:14 +0000
committerDennis Tang <dennis@dennistang.net>2018-05-14 11:31:14 +0000
commitdde62ccff57371ee68089d21dc431bf435b2a896 (patch)
treef4e04e2443b23046a63682c7bc18dd3cb9e8c9f0
parentf1a22c6cf5cfd6551932c83ba7188a3d3ed7066c (diff)
downloadgitlab-ce-dde62ccff57371ee68089d21dc431bf435b2a896.tar.gz
typo in `endpoint`
-rw-r--r--doc/development/fe_guide/vuex.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/fe_guide/vuex.md b/doc/development/fe_guide/vuex.md
index bebd0edab57..def6f0ade5e 100644
--- a/doc/development/fe_guide/vuex.md
+++ b/doc/development/fe_guide/vuex.md
@@ -87,7 +87,7 @@ In this file, we will write the actions that will call the respective mutations:
export const fetchUsers = ({ state, dispatch }) => {
dispatch('requestUsers');
- axios.get(state.endoint)
+ axios.get(state.endpoint)
.then(({ data }) => dispatch('receiveUsersSuccess', data))
.catch((error) => {
dispatch('receiveUsersError', error)
@@ -102,7 +102,7 @@ In this file, we will write the actions that will call the respective mutations:
export const addUser = ({ state, dispatch }, user) => {
dispatch('requestAddUser');
- axios.post(state.endoint, user)
+ axios.post(state.endpoint, user)
.then(({ data }) => dispatch('receiveAddUserSuccess', data))
.catch((error) => dispatch('receiveAddUserError', error));
}