kaxil commented on a change in pull request #16003:
URL: https://github.com/apache/airflow/pull/16003#discussion_r637967782
##########
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:
I don't see this as an error since you can set your own
`webhook_endpoint` in the Hook
--
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]