diff --git a/Controller/KindController.php b/Controller/KindController.php index fb744ac..73a195b 100644 --- a/Controller/KindController.php +++ b/Controller/KindController.php @@ -48,7 +48,7 @@ class KindController { $result = $this->db->deleteKind($kindId); - return $result; + return json_encode($result); } }