chore: finishing merge

This commit is contained in:
Binyamin Yawitz 2024-08-07 14:24:52 -04:00
parent e672a0ebe2
commit d2b8d3ae7a
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -115,7 +115,7 @@ if (!isset($args[1])) {
$workerName = $args[0];
if (\str_starts_with($workerName, 'databases')) {
$queueName = System::getEnv('_APP_QUEUE_NAME', 'db_main');
$queueName = System::getEnv('_APP_QUEUE_NAME', 'database_db_main');
} else {
$queueName = System::getEnv('_APP_QUEUE_NAME', 'v1-' . strtolower($workerName));
}

View file

@ -45,7 +45,7 @@ class MockNumber extends Validator
return false;
}
$otp = new Validator\Text(6, 6, Text::NUMBERS);
$otp = new Validator\Text(6, 6, Validator\Text::NUMBERS);
if (!$otp->isValid($value['otp'])) {
$this->message = 'Invalid OTP. Please make sure the OTP is a 6 digit number';
return false;