You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Discord web hook is sent to a Discord server, the output looks fine, however the main link is to the API call of the hook creation, instead of being to the actual thing. For example, if a web hook is called on an issue being created, Discord will display the main link title properly, but it will link to the API such as: https://git.example.com/api/v1/repos/Example/Example/issues/55
Side note, this does not happen with webhook callbacks that are responses to issues, just the initial callback for when the issue is first opened. The other callbacks so far appear to all work properly and give the correct links.
Edit - This is also affecting the issue close hook, the url for that one is wrong as well. Not too sure where to look in the Gitea source to check other hooks as well easier. I'm not familiar with Go or Gogs/Gitea's layout of code to know where to look since these are format generated strings.
[x]
):Description
When a Discord web hook is sent to a Discord server, the output looks fine, however the main link is to the API call of the hook creation, instead of being to the actual thing. For example, if a web hook is called on an issue being created, Discord will display the main link title properly, but it will link to the API such as:
https://git.example.com/api/v1/repos/Example/Example/issues/55
Instead of to the actual issue link of:
https://git.example.com/Example/Example/issues/55
The text was updated successfully, but these errors were encountered: