fix json types

This commit is contained in:
Evan Jarrett
2025-10-15 12:14:38 -05:00
parent 2bd7db16a4
commit a271d3d8e3

View File

@@ -4,11 +4,11 @@ package pds
// CrewRecord represents a crew member in the hold
type CrewRecord struct {
Type string `cborgen:"$type"`
Member string `cborgen:"member"`
Role string `cborgen:"role"`
Permissions []string `cborgen:"permissions"`
AddedAt string `cborgen:"addedAt"` // RFC3339 timestamp
Type string `json:"$type" cborgen:"$type"`
Member string `json:"member" cborgen:"member"`
Role string `json:"role" cborgen:"role"`
Permissions []string `json:"permissions" cborgen:"permissions"`
AddedAt string `json:"addedAt" cborgen:"addedAt"` // RFC3339 timestamp
}
const (