mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Remove unnessessary check
This commit is contained in:
parent
51e89f5110
commit
e1dedd2fbb
1 changed files with 1 additions and 1 deletions
|
|
@ -709,7 +709,7 @@ class Builds extends Action
|
|||
|
||||
Console::success("Build id: $buildId created");
|
||||
|
||||
if ($resource->getCollection() === 'sites' && $build->getAttribute('status') === 'ready') {
|
||||
if ($resource->getCollection() === 'sites') {
|
||||
try {
|
||||
$rule = Authorization::skip(fn () => $dbForPlatform->findOne('rules', [
|
||||
Query::equal("projectInternalId", [$project->getInternalId()]),
|
||||
|
|
|
|||
Loading…
Reference in a new issue