0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 15:53:07 -05:00
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 [CLI] implement forgejo-cli 2023-11-13 11:52:15 +01:00
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