Use parsed body variable
This commit is contained in:
parent
04da57fe0c
commit
f079c24554
@ -707,7 +707,7 @@ TestClient.prototype.getLayergroup = function(expectedResponse, callback) {
|
|||||||
return callback(err);
|
return callback(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
return callback(null, JSON.parse(res.body));
|
return callback(null, parsedBody);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user