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

Commit

Permalink
Merge pull request #340 from packethost/fix_service_token_expiresat_f…
Browse files Browse the repository at this point in the history
…ield

allow FabricServiceToken ExpiresAt null value
  • Loading branch information
displague authored Jun 8, 2022
2 parents c64c7f8 + 5520bf1 commit 2edef8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabric_service_tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const (
// FabricServiceToken represents an Equinix Metal metro
type FabricServiceToken struct {
*Href `json:",inline"`
ExpiresAt Timestamp `json:"expires_at,omitempty"`
ExpiresAt *Timestamp `json:"expires_at,omitempty"`
ID string `json:"id"`
MaxAllowedSpeed uint64 `json:"max_allowed_speed,omitempty"`
Role ConnectionPortRole `json:"role,omitempty"`
Expand Down

0 comments on commit 2edef8d

Please sign in to comment.