mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-07 14:35:26 +02:00
remove the space
This commit is contained in:
parent
1156031bf0
commit
0c48dea55c
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,6 @@ import PageOrder from '../models/pageOrder.js';
|
|||
import HttpException from '../exceptions/httpException.js';
|
||||
import PagesFlatArray from '../models/pagesFlatArray.js';
|
||||
|
||||
|
||||
type PageDataFields = keyof PageData;
|
||||
|
||||
/**
|
||||
|
@ -292,6 +291,7 @@ class Pages {
|
|||
await alias.destroy();
|
||||
}
|
||||
const removedPage = page.destroy();
|
||||
|
||||
await PagesFlatArray.regenerate();
|
||||
|
||||
return removedPage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue