fix: "undefined" error on deletePage by git storage (#2132)
This commit is contained in:
parent
545bc3465c
commit
cf3a48a6fa
@ -184,6 +184,7 @@ module.exports = {
|
||||
|
||||
const contentPath = pageHelper.getPagePath(item.relPath)
|
||||
await WIKI.models.pages.deletePage({
|
||||
user: user,
|
||||
path: contentPath.path,
|
||||
locale: contentPath.locale,
|
||||
skipStorage: true
|
||||
|
Loading…
Reference in New Issue
Block a user