Skip to content

Commit b0acddc

Browse files
Update components/selzy/actions/create-campaign/create-campaign.mjs
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 6a90ec5 commit b0acddc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/selzy/actions/create-campaign/create-campaign.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ export default {
103103
params: clearEmpty({
104104
message_id: this.messageId,
105105
start_time: this.startTime,
106-
track_read: this.trackRead && +this.trackRead,
107-
track_links: this.trackLinks && +this.trackLinks,
106+
track_read: this.trackRead ? 1 : 0,
107+
track_links: this.trackLinks ? 1 : 0,
108108
contacts_url: this.contactsUrl,
109109
track_ga: this.trackGa && +this.trackGa,
110110
ga_medium: this.gaMedium,

0 commit comments

Comments
 (0)