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

@@ -22,7 +22,7 @@ function markNotificationAsRead (user, cardType) {
}
module.exports = function readCard (user, req = {}) {
export default function readCard (user, req = {}) {
let cardType = get(req.params, 'cardType');
if (!cardType) {
@@ -42,4 +42,4 @@ module.exports = function readCard (user, req = {}) {
{ specialItems: user.items.special, cardReceived: user.flags.cardReceived },
i18n.t('readCard', {cardType}, req.language),
];
};
}