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

This commit is contained in:
TakeruDMC 2020-07-03 23:44:42 +02:00 committed by GitHub
parent 545bc3465c
commit cf3a48a6fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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