mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +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 connection = await getClient(providerInputs);
|
||||
|
||||
const infoResponse = await connection
|
||||
.get("/whoami")
|
||||
.then(() => true)
|
||||
.catch(() => false);
|
||||
const infoResponse = await connection.get("/whoami").then(() => true);
|
||||
|
||||
return infoResponse;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user