Skip to content

Commit

Permalink
records: use records instead of empty variabel
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippKilian committed Sep 28, 2023
1 parent 0213595 commit 4d98712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion b3lb/rest/classes/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async def get_recordings(self) -> HttpResponse:
for meeting_id in self.meeting_id.split(","):
records = await sync_to_async(self.get_recording_dicts)(records, meeting_id=meeting_id)
else:
records = await sync_to_async(self.get_recording_dicts)([])
records = await sync_to_async(self.get_recording_dicts)(records)

if records:
return HttpResponse(render_to_string(template_name="getRecordings.xml", context={"records": records}), content_type=cst.CONTENT_TYPE)
Expand Down

0 comments on commit 4d98712

Please sign in to comment.