Skip to content

Commit 81c3f9d

Browse files
committed
add back a missing return
1 parent df481c0 commit 81c3f9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/api/handlers/update.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ func HandleCheckUpgradable(updater *update.Manager) http.HandlerFunc {
5454
Code: string(code),
5555
Details: err.Error(),
5656
})
57+
return
5758
}
5859
if len(pkgs) == 0 {
5960
render.EncodeResponse(w, http.StatusNoContent, nil)

0 commit comments

Comments
 (0)