Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query revokedAt when grabbing orgs #116

Merged
merged 4 commits into from
Oct 18, 2024
Merged

Conversation

asib
Copy link
Contributor

@asib asib commented Oct 18, 2024

We need revokedAt returned by the orgs query in order to be able to display revocation date when a user does flyctl tokens ls --org ORG_NAME.

Also changes the type of RevokedAt to a *time.Time instead of time.Time, so that nulls in the database are converted to nil in Go, rather than to the zero-value of a time.Time.

…lable in the db (and otherwise the null is converted to the default value of a time.Time)
…n display the revocation date when a user does 'fly tokens ls --org ORG_NAME'
@asib asib merged commit 80accd5 into main Oct 18, 2024
5 checks passed
@asib asib deleted the jfent/limited-access-token-revoked-at branch October 18, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant