Skip to content

Commit

Permalink
fix(google-pubsub-client): use the extended message instead of the na…
Browse files Browse the repository at this point in the history
…tive object
  • Loading branch information
ccoeurderoy committed Feb 10, 2024
1 parent 8aaef6e commit c0d32c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GoogleCloudPubSub/GoogleCloudPubSub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class GoogleCloudPubSub implements GCPubSub {
);

if (opts.options?.autoAck !== false) {
message.ack();
extendedMessage.ack();
}

if (opts.onMessage !== undefined) {
Expand Down

0 comments on commit c0d32c2

Please sign in to comment.