Skip to content

Commit

Permalink
feat: remove activated usage from user model
Browse files Browse the repository at this point in the history
  • Loading branch information
florianlega committed Sep 10, 2024
1 parent 6cf2aba commit 3c99b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kili/services/copy_project/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _copy_members(self, from_project_id: str, new_project_id: str) -> None:
disable_tqdm=True,
)

members = [memb for memb in members if memb["status"] == "ACTIVATED" and memb["activated"]]
members = [memb for memb in members if memb["status"] == "CREATED" and memb["activated"]]

for member in tqdm(members, disable=self.disable_tqdm):
self.kili.append_to_roles(
Expand Down

0 comments on commit 3c99b60

Please sign in to comment.