Skip to content

Commit f15e298

Browse files
author
Filipa Lacerda
committed
Update vuex.md - swap PUT/POST methods
1 parent 5e01cf7 commit f15e298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/development/fe_guide/vuex.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ create:
120120
1. An action `receiveSomethingError`, to handle the error callback
121121
1. An action `fetchSomething` to make the request.
122122
1. In case your application does more than a `GET` request you can use these as examples:
123-
- `PUT`: `createSomething`
124-
- `POST`: `updateSomething`
123+
- `POST`: `createSomething`
124+
- `PUT`: `updateSomething`
125125
- `DELETE`: `deleteSomething`
126126

127127
The component MUST only dispatch the `fetchNamespace` action. Actions namespaced with `request` or `receive` should not be called from the component

0 commit comments

Comments
 (0)