diff --git a/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/Detection/Create.php b/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/Detection/Create.php index 28b68c3570..4d1fcec0dd 100644 --- a/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/Detection/Create.php +++ b/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/Detection/Create.php @@ -219,7 +219,7 @@ class Create extends Action foreach ($strategies as $strategy) { $detector = new Runtime($strategy, $packager); - if ($strategy === Strategy::LANGUAGES) { + if ($strategy->getValue() === Strategy::LANGUAGES) { foreach ($languages as $language) { $detector->addInput($language); } diff --git a/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/XList.php b/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/XList.php index ec71d1b4b8..9acc77e1f2 100644 --- a/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/XList.php +++ b/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/XList.php @@ -223,7 +223,7 @@ class XList extends Action foreach ($strategies as $strategy) { $detector = new Runtime($strategy, $packager); - if ($strategy === Strategy::LANGUAGES) { + if ($strategy->getValue() === Strategy::LANGUAGES) { foreach ($languages as $language) { $detector->addInput($language); }