mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
fix exports
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
||||
import splitWhitespace from '../libs/splitWhitespace';
|
||||
import pick from 'lodash/pick';
|
||||
|
||||
module.exports = function releaseBoth (user, req = {}) {
|
||||
export default function releaseBoth (user, req = {}) {
|
||||
let animal;
|
||||
|
||||
if (!user.achievements.triadBingo) {
|
||||
@@ -92,4 +92,4 @@ module.exports = function releaseBoth (user, req = {}) {
|
||||
pick(user, splitWhitespace('achievements items balance')),
|
||||
i18n.t('mountsAndPetsReleased'),
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user