aboutsummaryrefslogtreecommitdiff
path: root/src/controller/CalendarController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller/CalendarController.php')
-rw-r--r--src/controller/CalendarController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/controller/CalendarController.php b/src/controller/CalendarController.php
index cc37d0f..b60ff11 100644
--- a/src/controller/CalendarController.php
+++ b/src/controller/CalendarController.php
@@ -52,6 +52,7 @@ class CalendarController
52 $entityManager->flush(); 52 $entityManager->flush();
53 53
54 echo json_encode(['success' => true, 'id' => $event->getId()]); 54 echo json_encode(['success' => true, 'id' => $event->getId()]);
55 die;
55 } 56 }
56 static public function updateEvent(array $json, EntityManager $entityManager):void 57 static public function updateEvent(array $json, EntityManager $entityManager):void
57 { 58 {
@@ -67,6 +68,7 @@ class CalendarController
67 $entityManager->flush(); 68 $entityManager->flush();
68 69
69 echo json_encode(['success' => true]); 70 echo json_encode(['success' => true]);
71 die;
70 } 72 }
71 static public function removeEvent(array $json, EntityManager $entityManager):void 73 static public function removeEvent(array $json, EntityManager $entityManager):void
72 { 74 {
@@ -75,5 +77,6 @@ class CalendarController
75 $entityManager->flush(); 77 $entityManager->flush();
76 78
77 echo json_encode(['success' => true]); 79 echo json_encode(['success' => true]);
80 die;
78 } 81 }
79} \ No newline at end of file 82} \ No newline at end of file