mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
chore: finishing merge
This commit is contained in:
parent
e672a0ebe2
commit
d2b8d3ae7a
2 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue