mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Remove unnessessary check
This commit is contained in:
1 parent
51e89f5110
commit
e1dedd2fbb
1 file changed
+1
-1
@@ -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()]),
|
||||
|
||||
Reference in new issue
Block a user