From f86dc7ded9383162507552c6eb98132bddd760bc Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Fri, 6 Feb 2026 06:37:06 +0530 Subject: [PATCH] Refactor SkillSetupWizard API call for OAuth URL retrieval - Updated the API endpoint in SkillSetupWizard to remove the unnecessary responseType parameter, streamlining the OAuth URL request. - This change enhances the clarity of the API call while maintaining functionality for OAuth integration. --- src/components/skills/SkillSetupWizard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/skills/SkillSetupWizard.tsx b/src/components/skills/SkillSetupWizard.tsx index 510d6d982..681067381 100644 --- a/src/components/skills/SkillSetupWizard.tsx +++ b/src/components/skills/SkillSetupWizard.tsx @@ -148,7 +148,7 @@ export default function SkillSetupWizard({ try { // Call backend to get the real OAuth authorization URL const data = await apiClient.get<{ oauthUrl?: string }>( - `/auth/${oauth.provider}/connect?responseType=json&skillId=${skillId}`, + `/auth/${oauth.provider}/connect?skillId=${skillId}`, ); if (!data.oauthUrl) {