mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +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");
|
Console::success("Build id: $buildId created");
|
||||||
|
|
||||||
if ($resource->getCollection() === 'sites' && $build->getAttribute('status') === 'ready') {
|
if ($resource->getCollection() === 'sites') {
|
||||||
try {
|
try {
|
||||||
$rule = Authorization::skip(fn () => $dbForPlatform->findOne('rules', [
|
$rule = Authorization::skip(fn () => $dbForPlatform->findOne('rules', [
|
||||||
Query::equal("projectInternalId", [$project->getInternalId()]),
|
Query::equal("projectInternalId", [$project->getInternalId()]),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue