Fix double-encoding typo

This commit is contained in:
SteveSandersonMS
2016-09-08 12:14:45 +01:00
parent 041d173f56
commit 411100478a
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@
return;
}
res.setHeader('Content-Type', 'application/json');
res.end(JSON.stringify(successValueJson));
res.end(successValueJson);
}
else {
// String - can bypass JSON-serialization altogether