fix: typos in packages/ (#21216)

Found via codespell

Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
luzpazandUdit Takkar authored and GitHub committed 2025-05-12 09:30:43 +01:00
1 parent 77054d92df
commit 7f9709bdaa
6 files changed
+7 -6

No files matched your search

+2 -1
View File
@@ -152,7 +152,8 @@ export default class EventManager {
(cred) => cred.type.endsWith("_calendar") && !cred.type.includes("other_calendar")
)
// see https://github.com/calcom/cal.com/issues/11671#issue-1923600672
// This sorting is mostly applicable for fallback which happens when there is no explicity destinationCalendar set. That could be true for really old accounts but not for new
// This sorting is mostly applicable for fallback which happens when there is no explicit destinationCalendar set.
// That could be true for really old accounts but not for new
.sort(latestCredentialFirst)
// Keep Delegation Credentials first so because those credentials never expire and are preferred.
// Also, those credentials have consistent permission for all the members avoiding the scenario where user doesn't give all permissions
@@ -145,7 +145,7 @@ export const findQualifiedHostsWithDelegationCredentials = async <
};
}
//if segement matching doesn't return any hosts we fall back to all round robin hosts
//if segment matching doesn't return any hosts we fall back to all round robin hosts
const officalRRHosts = hostsAfterSegmentMatching.length ? hostsAfterSegmentMatching : roundRobinHosts;
const hostsAfterContactOwnerMatching = applyFilterWithFallback(
+1 -1
View File
@@ -577,7 +577,7 @@ export async function getCredentialForCalendarCache({ credentialId }: { credenti
if (!delegationCredential) {
credentialForCalendarService = null;
} else {
// We preparare a credential that is in-db(in constrast with an in-memory credential used elsewhere where we generate CredentialForCalendarService)
// We prepare a credential that is in-db(in contrast with an in-memory credential used elsewhere where we generate CredentialForCalendarService)
credentialForCalendarService = {
...delegationCredential,
id: credential.id,