summaryrefslogtreecommitdiffstats
path: root/services/webhook/discord.go
diff options
context:
space:
mode:
authoroliverpool <git@olivier.pfad.fr>2024-03-21 13:23:27 +0100
committeroliverpool <git@olivier.pfad.fr>2024-03-27 15:38:38 +0100
commit8dfbbfef07bb35f921e4ab4228c8006ce26dd183 (patch)
tree466c7f25ce1609e27ef2c09e75dbb40fe9e663f5 /services/webhook/discord.go
parentMerge pull request '[REFACTOR] webhook.Handler interface' (#2758) from oliver... (diff)
downloadforgejo-8dfbbfef07bb35f921e4ab4228c8006ce26dd183.tar.xz
forgejo-8dfbbfef07bb35f921e4ab4228c8006ce26dd183.zip
[REFACTOR] webhook matrix endpoints
Diffstat (limited to 'services/webhook/discord.go')
-rw-r--r--services/webhook/discord.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/webhook/discord.go b/services/webhook/discord.go
index a84aa9d7b2..8ddbb13738 100644
--- a/services/webhook/discord.go
+++ b/services/webhook/discord.go
@@ -26,6 +26,10 @@ type discordHandler struct{}
func (discordHandler) Type() webhook_module.HookType { return webhook_module.DISCORD }
+func (discordHandler) FormFields(bind func(any)) FormFields {
+ panic("TODO")
+}
+
type (
// DiscordEmbedFooter for Embed Footer Structure.
DiscordEmbedFooter struct {