Update MicroweberComposerClientHelper.php

This commit is contained in:
Bozhidar 2024-09-16 13:12:33 +03:00
parent d886edb47c
commit eebdf2cdc0

View file

@ -39,8 +39,8 @@ class MicroweberComposerClientHelper
public function getMicroweberDownloaderInstance()
{
$coreDownloader = new MicroweberDownloader();
if (setting('microweber.update_app_channel') == 'development') {
if (setting('microweber.update_app_channel') == 'beta') {
$coreDownloader->setReleaseSource(MicroweberDownloader::DEV_RELEASE);
} else {
$coreDownloader->setReleaseSource(MicroweberDownloader::STABLE_RELEASE);