diff --git a/routers/api/v1/repo/action.go b/routers/api/v1/repo/action.go index bdee0befa7..5a9856bc17 100644 --- a/routers/api/v1/repo/action.go +++ b/routers/api/v1/repo/action.go @@ -51,11 +51,9 @@ func ListActionsSecrets(ctx *context.APIContext) { // "404": // "$ref": "#/responses/notFound" - owner := ctx.Repo.Owner repo := ctx.Repo.Repository opts := &secret_model.FindSecretsOptions{ - OwnerID: owner.ID, RepoID: repo.ID, ListOptions: utils.GetListOptions(ctx), }