Skip to content

Commit d339cb8

Browse files
karlito40Akryum
authored andcommitted
fix: updateQuery with result hook (#589)
1 parent c9ffb8f commit d339cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/smart-subscription.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default class SmartSubscription extends SmartApollo {
3434
const ucb = apolloOptions.updateQuery && apolloOptions.updateQuery.bind(this.vm)
3535
apolloOptions.updateQuery = (...args) => {
3636
rcb(...args)
37-
ucb && ucb(...args)
37+
return ucb && ucb(...args)
3838
}
3939
}
4040
this.sub = this.options.linkedQuery.subscribeToMore(apolloOptions)

0 commit comments

Comments
 (0)