Browse Source

fix create sms batch

Clovis JAQUIN 2 years ago
parent
commit
7f99fd8de5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/create_sms_batch.py

+ 1 - 1
app/create_sms_batch.py

@@ -20,7 +20,7 @@ def main() -> None:
         project = result.scalars().first()
         if project is None:
             project = Project(name=TEST_SMS_PROJECT_NAME)
-            db.add(new_superuser)
+            db.add(project)
             db.commit()
             db.refresh(project)