diff --git a/models/workspace/workspace.go b/models/workspace/workspace.go index 6522baa..7c1c9e4 100644 --- a/models/workspace/workspace.go +++ b/models/workspace/workspace.go @@ -14,7 +14,7 @@ type Workspace struct { resources.ResourceSet IsContextual bool `json:"is_contextual" bson:"is_contextual" default:"false"` Active bool `json:"active" bson:"active" default:"false"` - Shared string `json:"shared" bson:"shared" default:"false"` + Shared string `json:"shared,omitempty" bson:"shared,omitempty"` } func (ao *Workspace) GetID() string {