ch branches
Some checks failed
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled

This commit is contained in:
2026-09-30 13:48:35 +05:00
parent 6f54e9c20b
commit 4f3631c70d
4 changed files with 41 additions and 11 deletions

View File

@@ -70,11 +70,6 @@ func (h *handler) list(c *gin.Context) {
c.JSON(http.StatusInternalServerError, appresult.ErrInternalServer)
return
}
if !rbac.HasAllScope(c) {
for i := range result.Branches {
clearBranchSecrets(&result.Branches[i])
}
}
c.JSON(http.StatusOK, appresult.SuccessWithData(result))
}