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:
@@ -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