浏览代码

Fix buggy model

Guénaël Muller 6 年前
父节点
当前提交
962981aa9c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/tracim_backend/models/context_models.py

+ 1 - 1
backend/tracim_backend/models/context_models.py 查看文件

@@ -169,7 +169,7 @@ class WorkspaceAndUserPath(object):
169 169
     """
170 170
     def __init__(self, workspace_id: int, user_id: int):
171 171
         self.workspace_id = workspace_id
172
-        self.user_id = workspace_id
172
+        self.user_id = user_id
173 173
 
174 174
 
175 175
 class UserWorkspaceAndContentPath(object):