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:
parent
5e57693189
commit
c43a84a3a9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue