Skip to content

Commit effec93

Browse files
author
Guillaume Chau
committed
fix: use apply
1 parent 534beff commit effec93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/smart-apollo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export default class SmartApollo {
143143
for (const handler of handlers) {
144144
if (handler) {
145145
catched = true
146-
let result = handler.call(this.vm, ...args)
146+
let result = handler.apply(this.vm, args)
147147
if (typeof result !== 'undefined' && !result) {
148148
break
149149
}

0 commit comments

Comments
 (0)