Selaa lähdekoodia

Fix buggy model

Guénaël Muller 6 vuotta sitten
vanhempi
commit
962981aa9c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      backend/tracim_backend/models/context_models.py

+ 1 - 1
backend/tracim_backend/models/context_models.py Näytä tiedosto

@@ -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):