From 2872a84457ff503f1e7c91a53d662e0f43784bae Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 24 Jun 2017 14:32:01 +0200 Subject: [PATCH] Added success post message --- RestControllers/conversationsController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RestControllers/conversationsController.php b/RestControllers/conversationsController.php index 4138a53..f961f38 100644 --- a/RestControllers/conversationsController.php +++ b/RestControllers/conversationsController.php @@ -279,6 +279,7 @@ class conversationsController{ if(!CS::get()->components->conversations->sendMessage(userID, $conversationID, $message, $image)) Rest_fatal_error(500, "Couldn't send the message !"); - Rest_fatal_error("200", "All right now"); + //Success + return array("success" => "Conversation message with successfully added !"); } } \ No newline at end of file