From 5520bf1a4a311e2971cc4d7bd7e9dad2f240bc88 Mon Sep 17 00:00:00 2001 From: Oscar Cobles Date: Wed, 8 Jun 2022 06:27:02 -0500 Subject: [PATCH] allow timestamp null value --- fabric_service_tokens.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabric_service_tokens.go b/fabric_service_tokens.go index 35365460..da4b9d7a 100644 --- a/fabric_service_tokens.go +++ b/fabric_service_tokens.go @@ -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"`