Add missing zoho-bigin import (#8798)
This commit is contained in:
parent
f179c23cc5
commit
f5a38c3f89
|
@ -12,7 +12,14 @@ export const getCalendar = async (credential: CredentialPayload | null): Promise
|
|||
if (calendarType?.endsWith("_other_calendar")) {
|
||||
calendarType = calendarType.split("_other_calendar")[0];
|
||||
}
|
||||
const calendarApp = await appStore[calendarType.split("_").join("") as keyof typeof appStore]();
|
||||
const calendarAppImportFn = appStore[calendarType.split("_").join("") as keyof typeof appStore];
|
||||
|
||||
if (!calendarAppImportFn) {
|
||||
log.warn(`calendar of type ${calendarType} is not implemented`);
|
||||
return null;
|
||||
}
|
||||
|
||||
const calendarApp = await calendarAppImportFn();
|
||||
if (!(calendarApp && "lib" in calendarApp && "CalendarService" in calendarApp.lib)) {
|
||||
log.warn(`calendar of type ${calendarType} is not implemented`);
|
||||
return null;
|
||||
|
|
|
@ -28,6 +28,7 @@ const appStore = {
|
|||
exchangecalendar: () => import("./exchangecalendar"),
|
||||
facetime: () => import("./facetime"),
|
||||
sylapsvideo: () => import("./sylapsvideo"),
|
||||
"zoho-bigin": () => import("./zoho-bigin"),
|
||||
};
|
||||
|
||||
export default appStore;
|
||||
|
|
Loading…
Reference in New Issue
Block a user