removed param from getCalendar function paramters
Signed-off-by: Abhay-soni-developer <abhaysoni.developer@gmail.com>
This commit is contained in:
committed by
blam
parent
915aba819c
commit
95510bca16
@@ -69,11 +69,11 @@ export class MicrosoftCalendarApiClient {
|
||||
return response.json() as Promise<T>;
|
||||
}
|
||||
|
||||
public async getCalendars(params?: any): Promise<MicrosoftCalendar[]> {
|
||||
public async getCalendars(): Promise<MicrosoftCalendar[]> {
|
||||
const data = await this.get<{
|
||||
id: string;
|
||||
value: MicrosoftCalendar[];
|
||||
}>('v1.0/me/calendars', params);
|
||||
}>('v1.0/me/calendars');
|
||||
|
||||
return data.value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user