1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-09 15:35:25 +02:00

rm await duplication

This commit is contained in:
Peter Savchenko 2018-10-04 22:05:10 +03:00
parent 5e57693189
commit c43a84a3a9
No known key found for this signature in database
GPG key ID: 63E739583C761566

View file

@ -7,7 +7,7 @@ const Pages = require('../controllers/pages');
* Create new page form
*/
router.get('/page/new', async (req, res) => {
let pagesAvailable = await await Pages.getAll();
let pagesAvailable = await Pages.getAll();
res.render('pages/form', {
pagesAvailable