mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix exports
This commit is contained in:
@@ -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,
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user