Merge pull request #4183 from Infisical/fix/oracle-app-connection

fix: resolved oracle failing in app connection
This commit is contained in:
Maidul Islam
2025-07-24 09:57:10 -04:00
committed by GitHub
@@ -164,7 +164,7 @@ export const validateSqlConnectionCredentials = async (
) => { ) => {
try { try {
await executeWithPotentialGateway(config, gatewayService, async (client) => { await executeWithPotentialGateway(config, gatewayService, async (client) => {
await client.raw(`Select 1`); await client.raw(config.app === AppConnection.OracleDB ? `SELECT 1 FROM DUAL` : `Select 1`);
}); });
return config.credentials; return config.credentials;
} catch (error) { } catch (error) {