mirror of
https://github.com/requarks/wiki.git
synced 2025-02-25 18:55:28 -06:00
fix: "undefined" error on deletePage by git storage (#2132)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user