Don't wrap events in a Response object twice

This commit is contained in:
Fabio Manganiello 2018-07-06 02:55:18 +02:00
parent b8665b7fbb
commit cfda6e019c

View file

@ -39,7 +39,7 @@ class GoogleCalendarPlugin(GooglePlugin, CalendarInterface):
orderBy='startTime').execute()
events = result.get('items', [])
return Response(output=events)
return events
def _get_service(self, scope=None):