kaxil commented on a change in pull request #16003:
URL: https://github.com/apache/airflow/pull/16003#discussion_r639279990
##########
File path: airflow/providers/discord/hooks/discord_webhook.py
##########
@@ -101,7 +101,7 @@ def _get_webhook_endpoint(self, http_conn_id:
Optional[str], webhook_endpoint: O
'Expected Discord webhook endpoint in the form of
"webhooks/{webhook.id}/{webhook.token}".'
)
- return endpoint
+ return f'https://discord.com/api/{endpoint}'
Review comment:
But what happens if you set: "https://discord.com/api/" as the "Host" in
your HTTPConnection
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]