We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38536e3 commit 6bd2b50Copy full SHA for 6bd2b50
src/Http/Controllers/Api/TwimlAppController.php
@@ -141,7 +141,7 @@ public function getCapabilityToken(Request $request)
141
$ex = new IdentityMethodNotImplementedException();
142
143
// not an API route
144
- return response()->json($ex, 500);
+ return response()->json(['message' => $ex->getMessage()], 500);
145
}
146
147
$clientToken = new ClientToken(config('services.twilio.account_sid'), config('services.twilio.auth_token'));
0 commit comments