mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix exports
This commit is contained in:
@@ -12,7 +12,7 @@ import {
|
||||
} from '../libs/errors';
|
||||
import errorMessage from '../libs/errorMessage';
|
||||
|
||||
module.exports = function hatch (user, req = {}) {
|
||||
export default function hatch (user, req = {}) {
|
||||
let egg = get(req, 'params.egg');
|
||||
let hatchingPotion = get(req, 'params.hatchingPotion');
|
||||
|
||||
@@ -66,4 +66,4 @@ module.exports = function hatch (user, req = {}) {
|
||||
user.items,
|
||||
i18n.t('messageHatched', req.language),
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user