From cf3a48a6fafd38cd9365c51bace0dab009241312 Mon Sep 17 00:00:00 2001 From: TakeruDMC Date: Fri, 3 Jul 2020 23:44:42 +0200 Subject: [PATCH] fix: "undefined" error on deletePage by git storage (#2132) --- server/modules/storage/git/storage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/modules/storage/git/storage.js b/server/modules/storage/git/storage.js index a28f133d..7f5c1e66 100644 --- a/server/modules/storage/git/storage.js +++ b/server/modules/storage/git/storage.js @@ -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