mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
AI review fixes
This commit is contained in:
1 parent
7b46197ffe
commit
4a3a74d284
2 files changed
+2
-2
No files matched your search
@@ -76,7 +76,7 @@ class Update extends Action
|
||||
throw new Exception(Exception::RULE_NOT_FOUND);
|
||||
}
|
||||
|
||||
if ($rule->getAttribute('verification') === true) {
|
||||
if ($rule->getAttribute('status', '') !== RULE_STATUS_VERIFICATION_FAILED) {
|
||||
return $response->dynamic($rule, Response::MODEL_PROXY_RULE);
|
||||
}
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ class Rule extends Model
|
||||
->addRule('status', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Domain verification status. Possible values are "' . RULE_STATUS_VERIFICATION_FAILED . '", "' . RULE_STATUS_GENERATING_CERTIFICATE . '", "' . RULE_STATUS_SUCCESSFUL . '" and "' . RULE_STATUS_GENERATION_FAILED . '"',
|
||||
'default' => false,
|
||||
'default' => '',
|
||||
'example' => RULE_STATUS_SUCCESSFUL,
|
||||
])
|
||||
->addRule('verificationLogs', [
|
||||
|
||||
Reference in new issue
Block a user