|
|
@@ -356,7 +356,7 @@ class PageService {
|
|
|
|
|
|
let creatorId = page.creator;
|
|
|
if (page.isEmpty) {
|
|
|
- // Need non-empty ancestor page to get its creator id because empty page does NOT have it.
|
|
|
+ // Need non-empty ancestor page to get its creatorId because empty page does NOT have it.
|
|
|
// Use creator id of ancestor page to determine whether the empty page is deletable
|
|
|
const notEmptyClosestAncestor = await Page.findNonEmptyClosestAncestor(page.path);
|
|
|
creatorId = notEmptyClosestAncestor.creator;
|