diff --git a/wise-api/src/main/java/com/wisemapping/rest/MindmapController.java b/wise-api/src/main/java/com/wisemapping/rest/MindmapController.java index cc39d2a1..3f01ebe9 100644 --- a/wise-api/src/main/java/com/wisemapping/rest/MindmapController.java +++ b/wise-api/src/main/java/com/wisemapping/rest/MindmapController.java @@ -96,7 +96,7 @@ public class MindmapController extends BaseController { lockFullName = lockInfo.getUser().getFullName(); } - return new RestMindmapMetadata(mindmap.getTitle(), mindmap.getCreator().getFullName(), mindMapBean.getProperties(), isLocked, lockFullName); + return new RestMindmapMetadata(mindmap.getTitle(), mindMapBean.getProperties(), mindmap.getCreator().getFullName(), isLocked, lockFullName); } @PreAuthorize("isAuthenticated() and hasRole('ROLE_USER')")