fix exports

This commit is contained in:
Matteo Pagliazzi
2019-10-01 17:53:48 +02:00
parent 4faa06f37d
commit cca5b8492b
144 changed files with 271 additions and 315 deletions

View File

@@ -4,7 +4,7 @@ import {
NotAuthorized,
} from '../libs/errors';
module.exports = function reroll (user, tasks = [], req = {}, analytics) {
export default function reroll (user, tasks = [], req = {}, analytics) {
if (user.balance < 1) {
throw new NotAuthorized(i18n.t('notEnoughGems', req.language));
}
@@ -34,4 +34,4 @@ module.exports = function reroll (user, tasks = [], req = {}, analytics) {
{user, tasks},
i18n.t('fortifyComplete'),
];
};
}