Skip to content

Commit

Permalink
Adding the email of the user who created the token to the graphql que…
Browse files Browse the repository at this point in the history
…ry (superfly#25)
  • Loading branch information
moss-fly authored and benwaffle committed Apr 2, 2024
1 parent fd2d321 commit 46a331d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resource_organizations.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ func (client *Client) GetOrganizationBySlug(ctx context.Context, slug string) (*
id
name
expiresAt
user {
email
}
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions resource_tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ func (c *Client) GetAppLimitedAccessTokens(ctx context.Context, appName string)
id
name
expiresAt
user {
email
}
}
}
}
Expand Down
1 change: 1 addition & 0 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ type LimitedAccessToken struct {
Id string
Name string
ExpiresAt time.Time
User User
}

type AppCertsCompact struct {
Expand Down

0 comments on commit 46a331d

Please sign in to comment.