removed param from getCalendar function paramters

Signed-off-by: Abhay-soni-developer <abhaysoni.developer@gmail.com>
This commit is contained in:
Abhay-soni-developer
2023-02-08 16:19:50 +05:30
committed by blam
parent 915aba819c
commit 95510bca16
+2 -2
View File
@@ -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;
}