fix: selected calendars atom deselect calendar (#16825)

This commit is contained in:
Lauris Skraucis authored and GitHub committed 2024-09-26 08:26:33 +00:00
1 parent bc53037f37
commit 5bbccad41d
1 file changed
+3 -1
@@ -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;