fix: "undefined" error on deletePage by git storage (#2132)

pull/2156/head
TakeruDMC 5 years ago committed by GitHub
parent 545bc3465c
commit cf3a48a6fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save