Merge pull request #43 from toddself/documentation-fix

Fix order of arguments to effects
This commit is contained in:
Yoshua Wuyts
2016-06-14 00:40:14 +02:00
committed by GitHub
+1 -1
View File
@@ -478,7 +478,7 @@ function view (params, state, send) {
app.model({ app.model({
effects: { effects: {
login: (state, action, send) => { login: (action, state, send) => {
http.post('/login', { body: action.data }, (err, res, body) => { http.post('/login', { body: action.data }, (err, res, body) => {
send('authorize', { payload: body }) send('authorize', { payload: body })
}) })