return headers
This commit is contained in:
parent
67fd6344dd
commit
b096fd50a7
5 changed files with 10 additions and 10 deletions
|
|
@ -20,7 +20,7 @@ EncryptedInsightStorage.prototype._brokenDecrypt = function(body) {
|
|||
EncryptedInsightStorage.prototype.getItem = function(name, callback) {
|
||||
var self = this;
|
||||
InsightStorage.prototype.getItem.apply(this, [name,
|
||||
function(err, body) {
|
||||
function(err, body, headers) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
|
|
@ -35,7 +35,7 @@ EncryptedInsightStorage.prototype.getItem = function(name, callback) {
|
|||
log.debug('Could not decrypt value.');
|
||||
return callback('PNOTFOUND');
|
||||
}
|
||||
return callback(null, decryptedJson);
|
||||
return callback(null, decryptedJson, headers);
|
||||
}
|
||||
]);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue