Skip to content

Commit f1d7966

Browse files
authored
fix: wrong id sent on "next" messages in pubsub (#9)
1 parent c746662 commit f1d7966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pubsub/publish.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const publish = (c: ServerClosure) => async (event: PubSubEvent) => {
3030
await sendMessage({
3131
...sub.requestContext,
3232
message: {
33-
id: sub.id,
33+
id: sub.subscriptionId,
3434
type: MessageType.Next,
3535
payload: await result,
3636
},

0 commit comments

Comments
 (0)