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

Fix: access denied on second load

David Arnold 4 жил өмнө
parent
commit
1c2dbe5149
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      models/attachments.js

+ 1 - 1
models/attachments.js

@@ -56,7 +56,7 @@ Attachments = new FilesCollection({
     if (board.isPublic()) {
       return true;
     }
-    return board.hasMember(this.userId);
+    return board.hasMember(fileObj.userId);
   },
 });