Fix double encoding of JSON

This commit is contained in:
Dane Everitt 2017-02-16 15:38:56 -05:00
parent f9dc66b4dd
commit 5e63ac0baa
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -126,6 +126,6 @@ class RemoteController extends Controller
$token->delete(); $token->delete();
// Manually as getConfigurationAsJson() returns it in correct format already // Manually as getConfigurationAsJson() returns it in correct format already
return response()->json($node->getConfigurationAsJson(), 200); return response($node->getConfigurationAsJson());
} }
} }