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) {
4949 commit ( 'setPending' , 'get' )
5050 return service
5151 . get ( id , params )
52- . then ( async item => {
52+ . then ( async function ( item ) {
5353 await dispatch ( 'addOrUpdate' , item )
5454 commit ( 'unsetPending' , 'get' )
5555 return state . keyedById [ id ]
@@ -130,7 +130,7 @@ export default function makeServiceActions(service) {
130130
131131 return service
132132 . update ( id , data , params )
133- . then ( async item => {
133+ . then ( async function ( item ) {
134134 await dispatch ( 'addOrUpdate' , item )
135135 commit ( 'unsetPending' , 'update' )
136136 return state . keyedById [ id ]
@@ -153,7 +153,7 @@ export default function makeServiceActions(service) {
153153
154154 return service
155155 . patch ( id , data , params )
156- . then ( async item => {
156+ . then ( async function ( item ) {
157157 await dispatch ( 'addOrUpdate' , item )
158158 commit ( 'unsetPending' , 'patch' )
159159 return state . keyedById [ id ]
You can’t perform that action at this time.
0 commit comments