Ver código fonte

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

TakeruDMC 5 anos atrás
pai
commit
cf3a48a6fa
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      server/modules/storage/git/storage.js

+ 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