Explorar el Código

remove link data

ryuichi-e hace 5 años
padre
commit
c63f3ab231
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      src/server/routes/apiv3/share-links.js

+ 0 - 2
src/server/routes/apiv3/share-links.js

@@ -60,8 +60,6 @@ module.exports = (crowi) => {
     const { pageId, expiration, description } = req.body;
     const ShareLink = crowi.model('ShareLink');
 
-    const LinkData = new ShareLink({ relatedPage: pageId, expiration_date: expiration, desc: description });
-
     try {
       const postedShareLink = await LinkData.save();
       return res.apiv3(postedShareLink);