1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 18:14:28 +00:00
gitea/modules/private
Giteabot cbf366643b
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>
2024-01-15 13:13:35 +01:00
..
actions.go Use correct has error check for internal responses (#28796) (#28798) 2024-01-15 13:13:35 +01:00
hook.go
internal.go
key.go Use correct has error check for internal responses (#28796) (#28798) 2024-01-15 13:13:35 +01:00
mail.go Use correct has error check for internal responses (#28796) (#28798) 2024-01-15 13:13:35 +01:00
manager.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
request.go Use correct has error check for internal responses (#28796) (#28798) 2024-01-15 13:13:35 +01:00
restore_repo.go
serv.go