From 14a86b8ae1cc2953a0e01c0715a929fed76fc62f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6sche?= Date: Fri, 9 Jan 2026 23:22:26 +0100 Subject: [PATCH] Add JSON tags to Organization struct fields for API compatibility --- go_cloud/internal/database/db.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/go_cloud/internal/database/db.go b/go_cloud/internal/database/db.go index bea52c2..0fd5a24 100644 --- a/go_cloud/internal/database/db.go +++ b/go_cloud/internal/database/db.go @@ -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 {