Fix missing argument in JSConfigHelper

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2020-04-27 08:40:54 +02:00
parent e56ffe5992
commit 25dfaefd01
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 6 additions and 2 deletions

View File

@ -37,6 +37,7 @@ use OCP\AppFramework\Http\DataDisplayResponse;
use OCP\Defaults;
use OCP\IConfig;
use OCP\IGroupManager;
use OCP\IInitialStateService;
use OCP\IRequest;
use OCP\ISession;
use OCP\IURLGenerator;
@ -63,6 +64,7 @@ class OCJSController extends Controller {
* @param IniGetWrapper $iniWrapper
* @param IURLGenerator $urlGenerator
* @param CapabilitiesManager $capabilitiesManager
* @param IInitialStateService $initialStateService
*/
public function __construct($appName,
IRequest $request,
@ -75,7 +77,8 @@ class OCJSController extends Controller {
IGroupManager $groupManager,
IniGetWrapper $iniWrapper,
IURLGenerator $urlGenerator,
CapabilitiesManager $capabilitiesManager) {
CapabilitiesManager $capabilitiesManager,
IInitialStateService $initialStateService) {
parent::__construct($appName, $request);
$this->helper = new JSConfigHelper(
@ -88,7 +91,8 @@ class OCJSController extends Controller {
$groupManager,
$iniWrapper,
$urlGenerator,
$capabilitiesManager
$capabilitiesManager,
$initialStateService,
);
}