mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
chore: upgrade babel to v6
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {forOwn} from 'lodash';
|
||||
|
||||
export default function prefillAppearances (obj) {
|
||||
module.exports = function prefillAppearances (obj) {
|
||||
forOwn(obj, function prefillAppearance (value, key) {
|
||||
value.key = key;
|
||||
if (!value.price) {
|
||||
@@ -8,4 +8,4 @@ export default function prefillAppearances (obj) {
|
||||
}
|
||||
});
|
||||
return obj;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user