Add JSON tags to Organization struct fields for API compatibility

This commit is contained in:
Leon Bösche
2026-01-09 23:22:26 +01:00
parent 708d4ca790
commit 14a86b8ae1

View File

@@ -55,10 +55,10 @@ type Session struct {
}
type Organization struct {
ID uuid.UUID
Name string
Slug string
CreatedAt time.Time
ID uuid.UUID `json:"id"`
Name string `json:"name"`
Slug string `json:"slug"`
CreatedAt time.Time `json:"createdAt"`
}
type Membership struct {