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.
This commit is contained in:
Steven Enamakel
2026-02-06 06:37:06 +05:30
parent cbdc6051d0
commit f86dc7ded9
+1 -1
View File
@@ -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) {