Add JSON tags to Organization struct fields for API compatibility
This commit is contained in:
@@ -55,10 +55,10 @@ type Session struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Organization struct {
|
type Organization struct {
|
||||||
ID uuid.UUID
|
ID uuid.UUID `json:"id"`
|
||||||
Name string
|
Name string `json:"name"`
|
||||||
Slug string
|
Slug string `json:"slug"`
|
||||||
CreatedAt time.Time
|
CreatedAt time.Time `json:"createdAt"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Membership struct {
|
type Membership struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user