Skip to content

Commit

Permalink
fix: send all pushConfig when creating subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
useCallback committed May 1, 2024
1 parent aba9aee commit fdd914f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1179,6 +1179,7 @@ export class Subscription extends EventEmitter {

if (metadata.pushEndpoint) {
formatted.pushConfig = {
...metadata.pushConfig,
pushEndpoint: metadata.pushEndpoint,
};
delete formatted.pushEndpoint;
Expand Down

0 comments on commit fdd914f

Please sign in to comment.