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

@@ -1,11 +1,11 @@
import times from 'lodash/times';
import autoAllocate from '../../fns/autoAllocate';
module.exports = function allocateNow (user) {
export default function allocateNow (user) {
times(user.stats.points, () => autoAllocate(user));
user.stats.points = 0;
return [
user.stats,
];
};
}