Use parsed body variable

This commit is contained in:
Daniel García Aubert
2017-07-31 18:22:13 +02:00
parent 04da57fe0c
commit f079c24554
+1 -1
View File
@@ -707,7 +707,7 @@ TestClient.prototype.getLayergroup = function(expectedResponse, callback) {
return callback(err);
}
return callback(null, JSON.parse(res.body));
return callback(null, parsedBody);
}
);
};