-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
High priorityCreated by Linear-GitHub SyncCreated by Linear-GitHub Synccalendar-appsarea: calendar, google calendar, outlook, lark, microsoft 365, apple calendararea: calendar, google calendar, outlook, lark, microsoft 365, apple calendarfoundation🐛 bugSomething isn't workingSomething isn't working
Milestone
Description
As we don’t explicitly sort the credentials in ascending order of [credentialId](https://github.com/calcom/cal.com/blob/1f6e80558b97f1b61d7c1885661611f2e0d57633/packages/core/EventManager.ts#L98)
, we get the list of credentials in descending order of last updated time in DB(so it seems) and thus whenever a new credential is added or existing credential is modified, we erroneously consider that credential as the first one, instead of the first added one actually.
This is problematic because depending on the calendar apps installation/uninstallation/updating, the target destination calendar might change without user knowing.
We should sort like videoCredentials
From SyncLinear.com | CAL-2569
Metadata
Metadata
Assignees
Labels
High priorityCreated by Linear-GitHub SyncCreated by Linear-GitHub Synccalendar-appsarea: calendar, google calendar, outlook, lark, microsoft 365, apple calendararea: calendar, google calendar, outlook, lark, microsoft 365, apple calendarfoundation🐛 bugSomething isn't workingSomething isn't working