Fixed bug with max_result (#23507)
The config option 'max_result' was assigned to not existing 'max_result' variable, it should be assigned to 'maxResult'. The current version causes an error when max_result option is used.
This commit is contained in:
parent
41d9bd42af
commit
b60c7ce479
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class GoogleCalendarData:
|
|||
params = dict(DEFAULT_GOOGLE_SEARCH_PARAMS)
|
||||
params['calendarId'] = self.calendar_id
|
||||
if self.max_results:
|
||||
params['max_results'] = self.max_results
|
||||
params['maxResults'] = self.max_results
|
||||
if self.search:
|
||||
params['q'] = self.search
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue