2
0
Эх сурвалжийг харах

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

TakeruDMC 5 жил өмнө
parent
commit
cf3a48a6fa

+ 1 - 0
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