@@ -300,7 +300,10 @@ public function viewAction()
300300 ]
301301 ));
302302
303+ $ module ['module_type ' ] = 'apptypes ' ;
304+
303305 $ module ['id ' ] = $ module ['module_details ' ]['id ' ];
306+
304307 } catch (\throwable $ e ) {
305308 throw new \Exception ($ e ->getMessage ());
306309 }
@@ -425,7 +428,8 @@ public function updateAction()
425428
426429 $ this ->addResponse (
427430 $ this ->modulesPackage ->packagesData ->responseMessage ,
428- $ this ->modulesPackage ->packagesData ->responseCode
431+ $ this ->modulesPackage ->packagesData ->responseCode ,
432+ $ this ->modulesPackage ->packagesData ->responseData ?? []
429433 );
430434 }
431435
@@ -441,20 +445,6 @@ public function removeAction()
441445 );
442446 }
443447
444- // public function validateJsonAction()
445- // {
446- // if ($this->request->isPost()) {
447- // if (!$this->checkCSRF()) {
448- // return;
449- // }
450- // $this->modulesPackage->updateModules($this->postData());
451-
452- // $this->addResponse($this->modulesPackage->packagesData->responseMessage, $this->modulesPackage->packagesData->responseCode);
453- // } else {
454- // $this->addResponse('Method Not Allowed', 1);
455- // }
456- // }
457-
458448 public function formatJsonAction ()
459449 {
460450 $ this ->requestIsPost ();
@@ -544,11 +534,11 @@ public function syncLabelsAction()
544534 );
545535 }
546536
547- public function getLabelIssuesAction ()
537+ public function getMilestoneLabelIssuesAction ()
548538 {
549539 $ this ->requestIsPost ();
550540
551- if ($ this ->modulesPackage ->getLabelIssues ($ this ->postData ())) {
541+ if ($ this ->modulesPackage ->getMilestoneLabelIssues ($ this ->postData ())) {
552542 $ this ->addResponse (
553543 $ this ->modulesPackage ->packagesData ->responseMessage ,
554544 $ this ->modulesPackage ->packagesData ->responseCode ,
0 commit comments