fix(aurora): fixed importers trying to import durations and breaking

This commit is contained in:
Seaswimmer 2023-12-28 04:54:30 -05:00
parent 12f14984a2
commit 036333e909
Signed by untrusted user: cswimr
GPG key ID: 1EBC234EEDA901AE
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ class ImportAuroraView(ui.View):
case["target_type"], case["target_type"],
case["target_id"], case["target_id"],
case["role_id"], case["role_id"],
duration, str(duration),
case["reason"], case["reason"],
timestamp=case["timestamp"], timestamp=case["timestamp"],
resolved=case["resolved"], resolved=case["resolved"],

View file

@ -123,7 +123,7 @@ class ImportGalacticBotView(ui.View):
case['targetType'], case['targetType'],
case['target'], case['target'],
0, 0,
duration, str(duration),
reason, reason,
timestamp=timestamp, timestamp=timestamp,
resolved=resolved, resolved=resolved,