File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export default function makeServiceActions(service) {
49
49
commit ( 'setPending' , 'get' )
50
50
return service
51
51
. get ( id , params )
52
- . then ( async item => {
52
+ . then ( async function ( item ) {
53
53
await dispatch ( 'addOrUpdate' , item )
54
54
commit ( 'unsetPending' , 'get' )
55
55
return state . keyedById [ id ]
@@ -130,7 +130,7 @@ export default function makeServiceActions(service) {
130
130
131
131
return service
132
132
. update ( id , data , params )
133
- . then ( async item => {
133
+ . then ( async function ( item ) {
134
134
await dispatch ( 'addOrUpdate' , item )
135
135
commit ( 'unsetPending' , 'update' )
136
136
return state . keyedById [ id ]
@@ -153,7 +153,7 @@ export default function makeServiceActions(service) {
153
153
154
154
return service
155
155
. patch ( id , data , params )
156
- . then ( async item => {
156
+ . then ( async function ( item ) {
157
157
await dispatch ( 'addOrUpdate' , item )
158
158
commit ( 'unsetPending' , 'patch' )
159
159
return state . keyedById [ id ]
You can’t perform that action at this time.
0 commit comments