From 5975bfd50127cc7710e26216db3fa2c90c29d55a Mon Sep 17 00:00:00 2001 From: Daniel Herrmann Date: Sat, 9 Mar 2024 22:10:29 +0100 Subject: [PATCH] fix my stupidity and hope that commits will be squashed during pr... --- pkg/models/teams.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/teams.go b/pkg/models/teams.go index b87d344fb..8cae52324 100644 --- a/pkg/models/teams.go +++ b/pkg/models/teams.go @@ -55,7 +55,7 @@ type Team struct { Updated time.Time `xorm:"updated" json:"updated"` // Defines wether the team should be publicly discoverable when sharing a project - IsPublic bool `xorm:"not null default 0" json:"is_public"` + IsPublic bool `xorm:"not null default false" json:"is_public"` // Query parameter controlling whether to include public projects or not IncludePublic bool `xorm:"-" query:"include_public" json:"include_public"`