diff options
author | Dr. Tobias Quathamer <toddy15@users.noreply.github.com> | 2022-01-23 14:46:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-23 21:46:30 +0800 |
commit | 3349fd8f7901d9a04769dff71d86fb67374e9395 (patch) | |
tree | dc0fecab704696b3106761e9feb41b8670f03fd4 /modules/structs | |
parent | 87141b908d4a03ce27af3ce042dc417da925b84f (diff) | |
download | gitea-3349fd8f7901d9a04769dff71d86fb67374e9395.tar.gz gitea-3349fd8f7901d9a04769dff71d86fb67374e9395.zip |
Add packagist webhook (#18224)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'modules/structs')
-rw-r--r-- | modules/structs/hook.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/structs/hook.go b/modules/structs/hook.go index bb62483cda..e4d7652c72 100644 --- a/modules/structs/hook.go +++ b/modules/structs/hook.go @@ -40,7 +40,7 @@ type CreateHookOptionConfig map[string]string // CreateHookOption options when create a hook type CreateHookOption struct { // required: true - // enum: dingtalk,discord,gitea,gogs,msteams,slack,telegram,feishu,wechatwork + // enum: dingtalk,discord,gitea,gogs,msteams,slack,telegram,feishu,wechatwork,packagist Type string `json:"type" binding:"Required"` // required: true Config CreateHookOptionConfig `json:"config" binding:"Required"` |