Shun Miyazawa 2 lat temu
rodzic
commit
e68bdf023a

+ 4 - 2
apps/app/src/server/routes/apiv3/page/create-page.ts

@@ -221,8 +221,10 @@ export const createPageHandlersFactory: CreatePageHandlersFactory = (crowi) => {
 
 
       let createdPage;
       let createdPage;
       try {
       try {
-        const { grant, grantUserGroupIds, overwriteScopesOfDescendants, wip } = req.body;
-        console.log('wip', wip);
+        const {
+          grant, grantUserGroupIds, overwriteScopesOfDescendants, wip,
+        } = req.body;
+
         const options: IOptionsForCreate = { overwriteScopesOfDescendants, wip };
         const options: IOptionsForCreate = { overwriteScopesOfDescendants, wip };
         if (grant != null) {
         if (grant != null) {
           options.grant = grant;
           options.grant = grant;