Skip to content

Commit

Permalink
added render: False for unfurl_links and unfurl_media as a template i…
Browse files Browse the repository at this point in the history
…sn't needed for those parameters
  • Loading branch information
Taskle authored and lamby committed Aug 26, 2021
1 parent 831f96a commit f8578a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions django_slack/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ def slack_message(
},
'unfurl_links': {
'default': unfurl_links,
'render': False,
'required': NOT_REQUIRED,
},
'unfurl_media': {
'default': unfurl_media,
'render': False,
'required': NOT_REQUIRED,
},
}
Expand Down

0 comments on commit f8578a9

Please sign in to comment.