Prefer exports
This commit is contained in:
parent
da144edc56
commit
40c40c800a
1 changed files with 1 additions and 6 deletions
|
@ -3,7 +3,7 @@ const isFunction = require('lodash/isFunction');
|
|||
const Message = require('./types/message');
|
||||
|
||||
|
||||
const processNext = async ({
|
||||
exports.processNext = async ({
|
||||
BackboneMessage,
|
||||
BackboneMessageCollection,
|
||||
count,
|
||||
|
@ -92,8 +92,3 @@ const _fetchMessagesRequiringSchemaUpgrade =
|
|||
resolve(messages);
|
||||
}));
|
||||
};
|
||||
|
||||
|
||||
module.exports = {
|
||||
processNext,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue