0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 05:39:14 +01: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 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-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 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