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

@@ -15,7 +15,7 @@ import content from '../content/index';
// If item is already purchased -> equip it
// Otherwise unlock it
module.exports = function unlock (user, req = {}, analytics) {
export default function unlock (user, req = {}, analytics) {
let path = get(req.query, 'path');
if (!path) {
@@ -138,4 +138,4 @@ module.exports = function unlock (user, req = {}, analytics) {
if (!alreadyOwns) response.push(i18n.t('unlocked', req.language));
return response;
};
}