From b6ad5e5f8c9c09992e5d03aa417be39b72bbb277 Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Tue, 11 Feb 2025 08:25:09 -0500 Subject: [PATCH] Include date --- pkg/shares/share.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/shares/share.go b/pkg/shares/share.go index 6184c02..20a8a6e 100644 --- a/pkg/shares/share.go +++ b/pkg/shares/share.go @@ -47,7 +47,7 @@ func (et EntityType) IsValid() bool { type Share struct { ID string `json:"id"` Type EntityType `json:"entityType"` - Date *jsontypes.Time `json:"-"` // we handle this for the user + Date *jsontypes.Time `json:"entityDate,omitempty"` // we handle this for the user Owner users.UserID `json:"owner"` EntityID uuid.UUID `json:"entityID"` Expiration *jsontypes.Time `json:"expiration"`