🐛 fix info endpoint
This commit is contained in:
parent
6f03a47129
commit
cf95da9d81
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Reference in New Issue