Skip to content
Snippets Groups Projects
Commit 828e5c55 authored by andi's avatar andi
Browse files

Apply 1 suggestion(s) to 1 file(s)


Co-authored-by: default avatarHeJ <hej@c3pb.de>
parent 47a87400
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ class ScheduleJSONSupport(BaseScheduleSupport):
if self.conf_value('feedback'):
data['feedback_url'] = f"{event['url']}feedback/"
if self.conf_value('legacy_id_offset'):
data['id'] = event['id'] + self.conf_value('legacy_id_offset')
data['id'] = int(event['id']) + int(self.conf_value('legacy_id_offset') or 0)
return data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment