diff --git a/restapi/index.php b/restapi/index.php index f28a86220..eebf0182a 100644 --- a/restapi/index.php +++ b/restapi/index.php @@ -2186,7 +2186,7 @@ class RestapiController { /* {{{ */ return $check; $params = $request->getParsedBody(); if (empty($params['name'])) { - return $response->withJson(array('success'=>false, 'message'=>'Need a category.', 'data'=>''), 400); + return $response->withJson(array('success'=>false, 'message'=>'Need a group name.', 'data'=>''), 400); } $groupName = $params['name'];