From a8ba485a21ee528e3ec8832fd4dc4265ccd9fe08 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 5 Mar 2024 10:53:32 +0100 Subject: [PATCH] bugfix --- teleforma/management/commands/teleforma-add-department.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/management/commands/teleforma-add-department.py b/teleforma/management/commands/teleforma-add-department.py index 94be474a..2e47133f 100644 --- a/teleforma/management/commands/teleforma-add-department.py +++ b/teleforma/management/commands/teleforma-add-department.py @@ -17,7 +17,7 @@ class Command(BaseCommand): def handle(self, *args, **options): organization_name = args[0] name = args[1] - domain = arg[2] + domain = args[2] organization = Organization.objects.get(name=organization_name) department = Department.objects.get_or_create( -- 2.39.5