Skip to content

Commit 22536e1

Browse files
s4njigmlewis
andauthored
Apply suggestions from code review
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
1 parent 34eef5c commit 22536e1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

github/repos_actions_access.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
type RepositoryActionsAccessLevel struct {
1717
// AccessLevel specifies the level of access that workflows outside of the repository have
1818
// to actions and reusable workflows within the repository.
19-
// Possible values are: "none", "organization" "enterprise"
19+
// Possible values are: "none", "organization" "enterprise".
2020
AccessLevel *string `json:"access_level,omitempty"`
2121
}
2222

@@ -51,6 +51,5 @@ func (s *RepositoriesService) EditActionsAccessLevel(ctx context.Context, owner,
5151
return nil, err
5252
}
5353

54-
resp, err := s.client.Do(ctx, req, nil)
55-
return resp, err
54+
return s.client.Do(ctx, req, nil)
5655
}

0 commit comments

Comments
 (0)