simplify call to peer

This commit is contained in:
mr 2024-08-26 14:58:54 +02:00
parent aff9304b1a
commit 050e6022cb

View File

@ -15,8 +15,8 @@ import (
type SharedWorkspace struct {
utils.AbstractObject
CreatorID string `json:"peer_id,omitempty" bson:"peer_id,omitempty" validate:"required"`
Version string `json:"version,omitempty" bson:"version,omitempty" validate:"required"`
Description string `json:"description,omitempty" bson:"description,omitempty"`
Version string `json:"version,omitempty" bson:"version,omitempty"`
Description string `json:"description,omitempty" bson:"description,omitempty" validate:"required"`
Attributes map[string]interface{} `json:"attributes,omitempty" bson:"attributes,omitempty"`
Workspaces []string `json:"workspaces,omitempty" bson:"workspaces,omitempty"`
Workflows []string `json:"workflows,omitempty" bson:"workflows,omitempty"`