From 59f9ab6e90b6ee2befa6505d159ae91021ea6a85 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Thu, 16 Feb 2017 15:49:14 -0500 Subject: [PATCH] Help @schrej not have an aneurysm. --- app/Http/Controllers/Remote/RemoteController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Remote/RemoteController.php b/app/Http/Controllers/Remote/RemoteController.php index 9ea2fe3c2..23ae805b6 100644 --- a/app/Http/Controllers/Remote/RemoteController.php +++ b/app/Http/Controllers/Remote/RemoteController.php @@ -126,6 +126,6 @@ class RemoteController extends Controller $token->delete(); // Manually as getConfigurationAsJson() returns it in correct format already - return response($node->getConfigurationAsJson()); + return response($node->getConfigurationAsJson())->header('Content-Type', 'text/json'); } }