1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-26 09:09:36 -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 Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
internal.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 2023-03-29 14:32:26 +08:00
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 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-16 14:40:56 +00:00
restore_repo.go Fix regression: access log template, gitea manager cli command (#24838) 2023-05-22 09:38:38 +08:00
serv.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 2023-03-29 14:32:26 +08:00