Skip to content

Commit

Permalink
webflow dynamic recipient
Browse files Browse the repository at this point in the history
  • Loading branch information
jderecho committed May 22, 2024
1 parent d80f4bc commit 803e4e7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/digitaltolk/webflow_service.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
class Digitaltolk::WebflowService
attr_accessor :params

INFO_EMAIL = '[email protected]'.freeze

def initialize(params)
@params = params
end
Expand Down Expand Up @@ -38,7 +36,7 @@ def process_webflow_submission
end

def emails
[INFO_EMAIL]
form_data['recipients'].to_s.split(',')
end

def webflow_params
Expand Down

0 comments on commit 803e4e7

Please sign in to comment.