1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00

Make consistent cloneID

This commit is contained in:
McMatts 2018-04-17 16:10:13 +01:00
parent 46f5f25acc
commit 591579251e
2 changed files with 2 additions and 2 deletions

View file

@ -57,7 +57,7 @@ export default Component.extend(NotifierMixin, AuthMixin, {
let payload = { let payload = {
name: spaceName, name: spaceName,
CloneID: clonedId, cloneId: clonedId,
copyTemplate: this.get('copyTemplate'), copyTemplate: this.get('copyTemplate'),
copyPermission: this.get('copyPermission'), copyPermission: this.get('copyPermission'),
copyDocument: this.get('copyDocument'), copyDocument: this.get('copyDocument'),

View file

@ -84,7 +84,7 @@ type InvitationModel struct {
// NewSpaceRequest details the new space to create. // NewSpaceRequest details the new space to create.
type NewSpaceRequest struct { type NewSpaceRequest struct {
Name string `json:"name"` 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 CopyTemplate bool `json:"copyTemplate"` // copy templates and reusable content blocks
CopyPermission bool `json:"copyPermission"` // copy uer permissions CopyPermission bool `json:"copyPermission"` // copy uer permissions
CopyDocument bool `json:"copyDocument"` // copy all documents! CopyDocument bool `json:"copyDocument"` // copy all documents!