🐛 fix info endpoint

This commit is contained in:
Marc Koch 2025-06-18 17:01:05 +02:00
parent 6f03a47129
commit cf95da9d81
Signed by: marc
GPG Key ID: 12406554CFB028B9
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ def info(request):
else:
user = request.user
return {"user": str(user),
"rooms": [room.name for room in user.rooms.all()]}
"calendars": [room.name for room in user.calendars.all()]}
@api.post("/{calendar}/event", response={201: EventSchemaOut})