Skip to content

Commit

Permalink
Query revokedAt when grabbing orgs (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
asib authored Oct 18, 2024
1 parent b6865ba commit 80accd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions resource_organizations.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ func (client *Client) GetOrganizationBySlug(ctx context.Context, slug string) (*
id
name
expiresAt
revokedAt
user {
email
}
Expand Down
2 changes: 1 addition & 1 deletion types.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ type LimitedAccessToken struct {
Name string
Token string
ExpiresAt time.Time
RevokedAt time.Time
RevokedAt *time.Time
User User
}

Expand Down

0 comments on commit 80accd5

Please sign in to comment.