Skip to content

Commit c7f910d

Browse files
committed
Add subscription key as additional parameter to result callback, #445
1 parent 4b64d88 commit c7f910d

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
@@ -56,7 +56,7 @@ export default class SmartSubscription extends SmartApollo {
5656
super.nextResult(data)
5757

5858
if (typeof this.options.result === 'function') {
59-
this.options.result.call(this.vm, data)
59+
this.options.result.call(this.vm, data, this.key)
6060
}
6161
}
6262
}

0 commit comments

Comments
 (0)