Skip to content

Commit

Permalink
fix: "undefined" error on deletePage by git storage (requarks#2132)
Browse files Browse the repository at this point in the history
  • Loading branch information
TakeruDMC authored Jul 3, 2020
1 parent df2557d commit 71d651e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/modules/storage/git/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71d651e

Please sign in to comment.