Bastien Sevajol 6 年之前
父節點
當前提交
ddca4423ca
沒有帳戶連結到提交者的電子郵件
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      backend/tracim_backend/lib/core/content.py

+ 3 - 0
backend/tracim_backend/lib/core/content.py 查看文件

@@ -416,6 +416,9 @@ class ContentApi(object):
416 416
         if content_type_slug == CONTENT_TYPES.Folder.slug and not label:
417 417
             label = self.generate_folder_label(workspace, parent)
418 418
 
419
+        # TODO BS 2018-08-13: Despite that workspace is required, create_comment
420
+        # can call here with None. Must update create_comment tu require the
421
+        # workspace.
419 422
         if not workspace:
420 423
             workspace = parent.workspace
421 424