11
This commit is contained in:
@ -29,7 +29,7 @@ abstract class BaseController extends Controller
|
||||
|
||||
function error($msg = 'error', $data = []): \Illuminate\Http\JsonResponse
|
||||
{
|
||||
ReplyService::error($msg, $data);
|
||||
return ReplyService::error($msg, $data);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user