Skip to content

Commit 1973bc4

Browse files
committed
fix typo
1 parent 7fea45a commit 1973bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/repos_environments.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func (s *RepositoriesService) GetEnvironment(ctx context.Context, owner, repo, n
148148

149149
// MarshalJSON implements the json.Marshaler interface.
150150
// As the only way to clear a WaitTimer is to set it to 0, a missing WaitTimer object should default to 0, not null.
151-
// As the default value for CanAdminBypass is true, a nil value here marshals to true.
151+
// As the default value for CanAdminsBypass is true, a nil value here marshals to true.
152152
func (c *CreateUpdateEnvironment) MarshalJSON() ([]byte, error) {
153153
type Alias CreateUpdateEnvironment
154154
if c.WaitTimer == nil {

0 commit comments

Comments
 (0)