chore: tidy up typos across docs, comments, and setup copy (#29260)
This commit is contained in:
1 parent
e64de009ec
commit
46eb533dbd
18 files changed
+34
-34
No files matched your search
@@ -1130,9 +1130,9 @@ export default class EventManager {
|
||||
let result = [];
|
||||
for (const reference of calendarReference) {
|
||||
const { uid: bookingRefUid, externalCalendarId: bookingExternalCalendarId } = reference;
|
||||
let calenderExternalId: string | null = null;
|
||||
let calendarExternalId: string | null = null;
|
||||
if (bookingExternalCalendarId) {
|
||||
calenderExternalId = bookingExternalCalendarId;
|
||||
calendarExternalId = bookingExternalCalendarId;
|
||||
}
|
||||
|
||||
if (reference.credentialId) {
|
||||
@@ -1161,14 +1161,14 @@ export default class EventManager {
|
||||
};
|
||||
}
|
||||
}
|
||||
result.push(updateEvent(credential, event, bookingRefUid, calenderExternalId));
|
||||
result.push(updateEvent(credential, event, bookingRefUid, calendarExternalId));
|
||||
} else {
|
||||
const credentials = this.calendarCredentials.filter(
|
||||
(credential) => credential.type === reference?.type
|
||||
);
|
||||
for (const credential of credentials) {
|
||||
log.silly("updateAllCalendarEvents-credential", JSON.stringify({ credentials }));
|
||||
result.push(updateEvent(credential, event, bookingRefUid, calenderExternalId));
|
||||
result.push(updateEvent(credential, event, bookingRefUid, calendarExternalId));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1185,7 +1185,7 @@ describe("intersect function comprehensive tests", () => {
|
||||
});
|
||||
|
||||
describe("timezone offset exclusion bug", () => {
|
||||
it("should succesfully mix UTC and timezone-aware dayjs objects in subtract", () => {
|
||||
it("should successfully mix UTC and timezone-aware dayjs objects in subtract", () => {
|
||||
const TIMEZONE = "Asia/Kolkata"; // IST timezone (+05:30)
|
||||
|
||||
const sourceRanges = [
|
||||
|
||||
Reference in new issue
Block a user