From 036333e909eb66c99508cfc5fba26d896e80c593 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 28 Dec 2023 04:54:30 -0500 Subject: [PATCH] fix(aurora): fixed importers trying to import durations and breaking --- aurora/importers/aurora.py | 2 +- aurora/importers/galacticbot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,