mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: default case correct
This commit is contained in:
@@ -75,7 +75,7 @@ export function selectAIProvider(config: { apiUrl: string; apiKey: string }) {
|
||||
Authorization: `Bearer ${config.apiKey}`,
|
||||
},
|
||||
)};
|
||||
case default:
|
||||
throw new Error(`Unsupported AI provider for URL: ${config.apiUrl}`);
|
||||
default:
|
||||
throw new Error(`Unsupported AI provider: ${providerName}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user