refactor(project_management): ensure within fixtur kwargs are copied

ref: #938 #937
This commit is contained in:
2025-08-04 16:38:26 +09:30
parent b7c68694a6
commit f5f4eb3ff2
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ def kwargs_projectstate(kwargs_centurionmodel, django_db_blocker,
with django_db_blocker.unblock():
kwargs = kwargs_knowledgebase
kwargs = kwargs_knowledgebase.copy()
team = kwargs['target_team']
del kwargs['target_team']

View File

@ -29,7 +29,7 @@ def kwargs_projecttype(kwargs_centurionmodel, django_db_blocker,
with django_db_blocker.unblock():
kwargs = kwargs_knowledgebase
kwargs = kwargs_knowledgebase.copy()
team = kwargs['target_team']
del kwargs['target_team']