Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
fix(BUX-218): do not send revoked at if access key is not revoked
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Orzepowski authored and Damian Orzepowski committed Sep 8, 2023
1 parent acf9185 commit 767c8f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions access_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type AccessKey struct {
// XpubID is an access key's xpub related id.
XpubID string `json:"xpub_id"`
// RevokedAt is a time when access key was revoked.
RevokedAt time.Time `json:"revoked_at"`
RevokedAt *time.Time `json:"revoked_at,omitempty"`
// Key is a string representation of an access key.
Key string `json:"key"`
Key string `json:"key,omitempty"`
}

0 comments on commit 767c8f1

Please sign in to comment.