Skip to content

Commit

Permalink
no attachment on broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremygottfried committed May 17, 2023
1 parent 561415d commit 31d041f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,6 @@ request = Customerio::TriggerBroadcastRequest.new(
payload: payload
)

file = File.open('<file-path>', 'r')
request.attach("filename", file.read)

begin
response = client.trigger_broadcast(request)
puts response
Expand Down

0 comments on commit 31d041f

Please sign in to comment.