Commit 5f472425 authored by Ben Hayward's avatar Ben Hayward

Updated default returned for max vid size

1 merge request!269[Sprint/InterestingIguana](bug): Adding in max video filesize config for front/1506
Pipeline #71466866 running with stages
......@@ -34,7 +34,7 @@ class config implements Interfaces\Api, Interfaces\ApiIgnorePam
"max_video_length" => (Core\Session::getLoggedInUser() && Core\Session::getLoggedInUser()->isPlus())
? Minds\Core\Config::_()->get('max_video_length_plus')
: Minds\Core\Config::_()->get('max_video_length'),
"max_video_file_size" => Minds\Core\Config::_()->get('max_video_file_size') ?: [],
"max_video_file_size" => Minds\Core\Config::_()->get('max_video_file_size') ?: 0,
"features" => (object) (Minds\Core\Config::_()->get('features') ?: []),
"blockchain" => (object) Minds\Core\Di\Di::_()->get('Blockchain\Manager')->getPublicSettings(),
"plus" => Minds\Core\Config::_()->get('plus'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment