mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Use ruleId
This commit is contained in:
parent
a5a1860ba6
commit
bc9caeaae0
1 changed files with 1 additions and 1 deletions
|
|
@ -1187,7 +1187,7 @@ class Builds extends Action
|
|||
'region' => $project->getAttribute('region')
|
||||
]));
|
||||
} catch (Duplicate $err) {
|
||||
$rule = $dbForPlatform->updateDocument('rules', $rule->getId(), new Document([
|
||||
$rule = $dbForPlatform->updateDocument('rules', $ruleId, new Document([
|
||||
'deploymentId' => $deployment->getId(),
|
||||
'deploymentInternalId' => $deployment->getSequence(),
|
||||
]));
|
||||
|
|
|
|||
Loading…
Reference in a new issue