Skip to content

Commit 5e63ac0

Browse files
committed
Fix double encoding of JSON
1 parent f9dc66b commit 5e63ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Remote/RemoteController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,6 @@ public function getConfiguration(Request $request, $tokenString)
126126
$token->delete();
127127

128128
// Manually as getConfigurationAsJson() returns it in correct format already
129-
return response()->json($node->getConfigurationAsJson(), 200);
129+
return response($node->getConfigurationAsJson());
130130
}
131131
}

0 commit comments

Comments
 (0)