forked from Yara724/api
fix: enforce fake_otp variable to be false while in production
This commit is contained in:
@@ -25,6 +25,10 @@ export class EnvironmentVariables {
|
||||
})
|
||||
NODE_ENV: Environment;
|
||||
|
||||
@IsOptional()
|
||||
@IsBooleanString({ message: "FAKE_OTP must be boolean" })
|
||||
FAKE_OTP?: string;
|
||||
|
||||
// --------------------------------------------------------- //
|
||||
|
||||
@IsNumber(
|
||||
|
||||
Reference in New Issue
Block a user