Commit 1a798afd authored by Zohten's avatar Zohten

bugfix

parent 7bee24e2
...@@ -106,7 +106,7 @@ class UserController extends Controller ...@@ -106,7 +106,7 @@ class UserController extends Controller
{ {
User::addRow($array); User::addRow($array);
$message = json_encode(["message" => 'User succesfully added!']); $message = json_encode(["message" => 'User succesfully added!']);
$response = Response::okResponse(json_encode($message)); $response = Response::okResponse($message);
return $response; return $response;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment