We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 480b6af commit a9029f4Copy full SHA for a9029f4
1 file changed
src/service.js
@@ -70,9 +70,9 @@ module.exports = function (mixinOptions) {
70
tag: { type: "string" },
71
payload: { type: "any", optional: true }
72
},
73
- handler(event) {
+ handler(ctx) {
74
if (this.pubsub) {
75
- this.pubsub.publish(event.tag, event.payload);
+ this.pubsub.publish(ctx.params.tag, ctx.params.payload);
76
}
77
78
0 commit comments