Browse Source

Fix buggy model

Guénaël Muller 6 years ago
parent
commit
962981aa9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/tracim_backend/models/context_models.py

+ 1 - 1
backend/tracim_backend/models/context_models.py View File

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