diff --git a/aurora/importers/aurora.py b/aurora/importers/aurora.py index 8270676..21041e9 100644 --- a/aurora/importers/aurora.py +++ b/aurora/importers/aurora.py @@ -85,7 +85,7 @@ class ImportAuroraView(ui.View): case["target_type"], case["target_id"], case["role_id"], - duration, + str(duration), case["reason"], timestamp=case["timestamp"], resolved=case["resolved"], diff --git a/aurora/importers/galacticbot.py b/aurora/importers/galacticbot.py index 1c7ae76..646a05e 100644 --- a/aurora/importers/galacticbot.py +++ b/aurora/importers/galacticbot.py @@ -123,7 +123,7 @@ class ImportGalacticBotView(ui.View): case['targetType'], case['target'], 0, - duration, + str(duration), reason, timestamp=timestamp, resolved=resolved,