Skip to content

Commit

Permalink
Merge pull request #144 from romanukes/fix-mattermost-api-view
Browse files Browse the repository at this point in the history
Fix Mattermost API MattermostInteractionView request_scheme context
  • Loading branch information
whitej6 authored Jul 25, 2022
2 parents 74ba33d + 415bfd6 commit ac96cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautobot_chatops/api/views/mattermost.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def post(self, request, *args, **kwargs):
"response_url": data.get("response_url"),
"trigger_id": data.get("trigger_id"),
"post_id": data.get("post_id"),
"request_scheme": request.get_host(),
"request_scheme": request.scheme,
"request_host": request.get_host(),
"integration_url": request.build_absolute_uri("/api/plugins/chatops/mattermost/interaction/"),
}
Expand Down

0 comments on commit ac96cea

Please sign in to comment.