githaven/routers/api/v1/utils
oliverpool c81b26b0e5
refactor webhook *NewPost (#20729)
* refactor webhook *NewPost

* remove empty values

* always show errs.Message

* remove utils.IsValidSlackChannel

* move IsValidSlackChannel to services/webhook package

* binding: handle empty Message case

* make IsValidSlackChannel more strict
2022-08-11 17:48:23 +02:00
..
git.go Add latest commit's SHA to content response (#20398) 2022-07-30 16:09:04 +08:00
hook.go refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
page.go Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00