Skip to content

Commit

Permalink
fix revoked type
Browse files Browse the repository at this point in the history
  • Loading branch information
hjweddie committed Jul 25, 2024
1 parent e501144 commit 38509db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion personal_access_tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type ListPersonalAccessTokensOptions struct {
CreatedBefore *time.Time `url:"created_before,omitempty" json:"created_before,omitempty"`
LastUsedAfter *time.Time `url:"last_used_after,omitempty" json:"last_used_after,omitempty"`
LastUsedBefore *time.Time `url:"last_used_before,omitempty" json:"last_used_before,omitempty"`
Revoked *int `url:"revoked,omitempty" json:"revoked,omitempty"`
Revoked *bool `url:"revoked,omitempty" json:"revoked,omitempty"`
Search *string `url:"search,omitempty" json:"search,omitempty"`
State *string `url:"state,omitempty" json:"state,omitempty"`
UserID *int `url:"user_id,omitempty" json:"user_id,omitempty"`
Expand Down

0 comments on commit 38509db

Please sign in to comment.