From 9fc5f6589bf4c308ab7155d72299baebf48455dc Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 29 May 2025 05:37:35 +0000 Subject: [PATCH] Fix: Correct API path for Slack channel discovery Updated the frontend API call to use the correct path `/api/v1/slack/:connectorId/discover-channels` instead of the previous incorrect path. This change ensures the frontend aligns with the backend routing structure for fetching Slack channels where the bot is a member. Addresses a 404 error you reported when attempting to discover Slack channels. --- surfsense_web/hooks/useConnectorEditPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surfsense_web/hooks/useConnectorEditPage.ts b/surfsense_web/hooks/useConnectorEditPage.ts index 3dc384dec..de79dec56 100644 --- a/surfsense_web/hooks/useConnectorEditPage.ts +++ b/surfsense_web/hooks/useConnectorEditPage.ts @@ -267,7 +267,7 @@ async function discoverSlackChannelsAPI(connectorId: number): Promise