Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update api/secret/list.go
  • Loading branch information
cognifloyd authored May 22, 2023
commit a4bcaa7e0824c2b754277931a60cd5ea7fb2676b
2 changes: 1 addition & 1 deletion api/secret/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func ListSecrets(c *gin.Context) {

teams, err = scm.FromContext(c).ListUsersTeamsForOrg(u, o)
if err != nil {
retErr := fmt.Errorf("unable to get users %s teams for org %s: %w", u.GetName(), o, err)
retErr := fmt.Errorf("unable to list users %s teams for org %s: %w", u.GetName(), o, err)

util.HandleError(c, http.StatusBadRequest, retErr)

Expand Down