1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-07 14:35:26 +02:00

Removed useless generating

This commit is contained in:
slaveeks 2022-07-27 14:31:31 +03:00
parent abf6a6de3e
commit c895f4d9fe

View file

@ -290,11 +290,9 @@ class Pages {
await alias.destroy();
}
await flatArray.generate();
const removedPage = page.destroy();
await flatArray.generate();
return removedPage;
}