mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 18:27:36 +00:00
Update rabbit-mq.ts
This commit is contained in:
@@ -123,10 +123,7 @@ export const RabbitMqProvider = (): TDynamicProviderFns => {
|
|||||||
const providerInputs = await validateProviderInputs(inputs);
|
const providerInputs = await validateProviderInputs(inputs);
|
||||||
const connection = await getClient(providerInputs);
|
const connection = await getClient(providerInputs);
|
||||||
|
|
||||||
const infoResponse = await connection
|
const infoResponse = await connection.get("/whoami").then(() => true);
|
||||||
.get("/whoami")
|
|
||||||
.then(() => true)
|
|
||||||
.catch(() => false);
|
|
||||||
|
|
||||||
return infoResponse;
|
return infoResponse;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user