all files / lib/adapters/leveldb/ prepareAttachmentForStorage.js

100% Statements 6/6
100% Branches 0/0
100% Functions 2/2
100% Lines 6/6
1 2 3 4 5 6 7 8 9 10 11 12 13 14          315× 315×      
"use strict";
 
Object.defineProperty(exports, "__esModule", {
  value: true
});
// in Node, we store the buffer directly
function prepareAttachmentForStorage(attData, cb) {
  process.nextTick(function () {
    cb(attData);
  });
}
 
exports.default = prepareAttachmentForStorage;
module.exports = exports['default'];