Skip to content

Commit 90071a5

Browse files
committed
fix: removing an empty variable error
1 parent 1492535 commit 90071a5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/config/env.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,11 @@ export class ConfigService {
157157
}
158158
}
159159

160-
if (isEmpty(this.env.WA_VERSION)) {
161-
throw new Error(
162-
'The WhatsApp version must be specified in the environment variables.\n\nDefault variable [file: .env]: WA_VERSION=[ 2, 3000, 1015901307 ]\n',
163-
);
164-
}
160+
// if (isEmpty(this.env.WA_VERSION)) {
161+
// throw new Error(
162+
// 'The WhatsApp version must be specified in the environment variables.\n\nDefault variable [file: .env]: WA_VERSION=[ 2, 3000, 1015901307 ]\n',
163+
// );
164+
// }
165165
}
166166

167167
private envProcess(): Env {

0 commit comments

Comments
 (0)