Skip to content

Commit

Permalink
Merge 2766fab into 03768eb
Browse files Browse the repository at this point in the history
  • Loading branch information
schuyler1d committed Jun 6, 2019
2 parents 03768eb + 2766fab commit b38bc8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion temba/flows/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4150,7 +4150,10 @@ def find_matching_rule(self, run, msg, resume_after_timeout=False):
if RuleSet.CONFIG_WEBHOOK_HEADERS in self.config:
headers = self.config[RuleSet.CONFIG_WEBHOOK_HEADERS]
for item in headers:
header[item.get("name")] = item.get("value")
(header_value, parseerrors) = Msg.evaluate_template(
item.get("value"), context, org=run.flow.org, url_encode=True
)
header[item.get("name")] = header_value

elif self.ruleset_type == RuleSet.TYPE_RESTHOOK:
from temba.api.models import Resthook
Expand Down

0 comments on commit b38bc8e

Please sign in to comment.