Przeglądaj źródła

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

TakeruDMC 5 lat temu
rodzic
commit
cf3a48a6fa
1 zmienionych plików z 1 dodań i 0 usunięć
  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