diff --git a/gui/app/components/toolbar/for-spaces.js b/gui/app/components/toolbar/for-spaces.js index c9bd1c8f..de890398 100644 --- a/gui/app/components/toolbar/for-spaces.js +++ b/gui/app/components/toolbar/for-spaces.js @@ -57,7 +57,7 @@ export default Component.extend(NotifierMixin, AuthMixin, { let payload = { name: spaceName, - CloneID: clonedId, + cloneId: clonedId, copyTemplate: this.get('copyTemplate'), copyPermission: this.get('copyPermission'), copyDocument: this.get('copyDocument'), diff --git a/model/space/space.go b/model/space/space.go index b934e47f..deef3d6f 100644 --- a/model/space/space.go +++ b/model/space/space.go @@ -84,7 +84,7 @@ type InvitationModel struct { // NewSpaceRequest details the new space to create. type NewSpaceRequest struct { Name string `json:"name"` - CloneID string `json:"cloneID"` // existing space to clone, empty = no cloning + CloneID string `json:"cloneId"` // existing space to clone, empty = no cloning CopyTemplate bool `json:"copyTemplate"` // copy templates and reusable content blocks CopyPermission bool `json:"copyPermission"` // copy uer permissions CopyDocument bool `json:"copyDocument"` // copy all documents!