Remove usage of storage module

This commit is contained in:
Daniel Gasienica 2018-03-27 12:20:07 -04:00
parent 8966e80284
commit d5d0eabdfd
2 changed files with 2 additions and 10 deletions

View file

@ -77,19 +77,11 @@ exports.processNext = async ({
};
};
exports.processAll = async ({
Backbone,
storage,
upgradeMessageSchema,
} = {}) => {
exports.processAll = async ({ Backbone, upgradeMessageSchema } = {}) => {
if (!isObject(Backbone)) {
throw new TypeError('"Backbone" is required');
}
if (!isObject(storage)) {
throw new TypeError('"storage" is required');
}
if (!isFunction(upgradeMessageSchema)) {
throw new TypeError('"upgradeMessageSchema" is required');
}