Skip to content

Commit

Permalink
fix: JOIN-49321 attributes have to be optional during publishing (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-taran authored Dec 17, 2024
1 parent 76c0f3d commit b84faae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pubsub/src/PublisherFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Publisher } from './Publisher'
export interface IPublisher<T> {
topicName: string
initialize: () => Promise<void>
publishMsg: (data: T, attributes: Record<string, string>) => Promise<void>
publishMsg: (data: T, attributes?: Record<string, string>) => Promise<void>
flush: () => Promise<void>
}

Expand Down

0 comments on commit b84faae

Please sign in to comment.