Skip to content

Commit 6c76d6d

Browse files
authored
fix: add event fields on creating campaign (#1512)
## Ticket - https://linear.app/stream/issue/REACT-346/missing-event-related-fields-when-creating-campaigns ## Summary Add `skip_push` and `skip_webhook` params to campaign creation call. ## CLA - [ ] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required). - [ ] Code changes are tested ## Description of the changes, What, Why and How? ## Changelog -
1 parent 5344d2c commit 6c76d6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/campaign.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ export class Campaign<StreamChatGenerics extends ExtendableGenerics = DefaultGen
2424
show_channels: this.data?.show_channels,
2525
description: this.data?.description,
2626
name: this.data?.name,
27+
skip_push: this.data?.skip_push,
28+
skip_webhook: this.data?.skip_webhook,
2729
user_ids: this.data?.user_ids,
2830
};
2931

0 commit comments

Comments
 (0)