From 80accd59df2a221f79d42706251650f48445d935 Mon Sep 17 00:00:00 2001 From: Jacob Fenton Date: Fri, 18 Oct 2024 12:04:45 +0100 Subject: [PATCH] Query revokedAt when grabbing orgs (#116) --- resource_organizations.go | 1 + types.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resource_organizations.go b/resource_organizations.go index ffe3e9f..17423bc 100644 --- a/resource_organizations.go +++ b/resource_organizations.go @@ -183,6 +183,7 @@ func (client *Client) GetOrganizationBySlug(ctx context.Context, slug string) (* id name expiresAt + revokedAt user { email } diff --git a/types.go b/types.go index d1d6799..7cb1763 100644 --- a/types.go +++ b/types.go @@ -313,7 +313,7 @@ type LimitedAccessToken struct { Name string Token string ExpiresAt time.Time - RevokedAt time.Time + RevokedAt *time.Time User User }