We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ace08ea commit 2d00158Copy full SHA for 2d00158
1 file changed
src/messageBusService.ts
@@ -1,14 +1,13 @@
1
import type { Publisher } from "rabbitmq-client";
2
import { Connection } from "rabbitmq-client";
3
import { MZingaLogger } from "./utils/MZingaLogger";
4
-
5
const {
6
TENANT = "unknown",
7
ENV = "local",
8
RABBITMQ_VHOST = "/",
9
RABBITMQ_ACQUIRE_TIMEOUT = "",
10
RABBITMQ_CONNECTION_TIMEOUT = "",
11
-} = process.env;
+} = (process || {}).env || {};
12
declare type Event = {
13
type: string;
14
data: any;
0 commit comments