forgejo/modules/private
Giteabot 215c96e646
Use correct has error check for internal responses (#28796) (#28798)
Backport #28796 by @wxiaoguang

`resp != nil` doesn't mean the request really succeeded. Add a comment
for requestJSONResp to clarify the behavior.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit cbf366643b)
2024-01-16 14:40:56 +00:00
..
actions.go Use correct has error check for internal responses (#28796) (#28798) 2024-01-16 14:40:56 +00:00
forgejo_actions.go
hook.go
internal.go
key.go Use correct has error check for internal responses (#28796) (#28798) 2024-01-16 14:40:56 +00:00
mail.go Use correct has error check for internal responses (#28796) (#28798) 2024-01-16 14:40:56 +00:00
manager.go
request.go Use correct has error check for internal responses (#28796) (#28798) 2024-01-16 14:40:56 +00:00
restore_repo.go
serv.go