From e174e3d16a14c70ec1e514dd1efe95cadd9968a6 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Sat, 31 Oct 2020 12:10:02 +0100 Subject: [PATCH] trying to implement database backend --- lib/Controller/StationController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Controller/StationController.php b/lib/Controller/StationController.php index ed19d64..e51166d 100644 --- a/lib/Controller/StationController.php +++ b/lib/Controller/StationController.php @@ -3,13 +3,13 @@ namespace OCA\Radio\Controller; use OCA\Radio\AppInfo\Application; -use OCA\Radio\Service\RadioService; +use OCA\Radio\Service\StationService; use OCP\AppFramework\Controller; use OCP\AppFramework\Http\DataResponse; use OCP\IRequest; -class RadioController extends Controller { - /** @var RadioService */ +class StationController extends Controller { + /** @var StationService */ private $service; /** @var string */ @@ -18,7 +18,7 @@ class RadioController extends Controller { use Errors; public function __construct(IRequest $request, - RadioService $service, + StationService $service, $userId) { parent::__construct(Application::APP_ID, $request); $this->service = $service;