fix: selected calendars atom deselect calendar (#16825)

This commit is contained in:
Lauris Skraucis
2024-09-26 08:26:33 +00:00
committed by GitHub
parent bc53037f37
commit 5bbccad41d
@@ -38,7 +38,9 @@ export const useRemoveSelectedCalendar = (
return http
.delete(
`/selected-calendars?credentialId=${credentialId}&integration=${integration}&externalId=${externalId}`
`/selected-calendars?credentialId=${credentialId}&integration=${integration}&externalId=${encodeURIComponent(
externalId
)}`
)
.then((res) => {
return res.data;