Skip to content

Commit

Permalink
fix: pass user object to grantBadge
Browse files Browse the repository at this point in the history
  • Loading branch information
felixerdy committed Sep 6, 2023
1 parent a4ef201 commit 565cc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/lib/controllers/boxesController.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ const postNewBox = async function postNewBox (req, res) {
);
grantBadge({
badgeClassEntityId: '4xqx4qjfTwOSiK816Lr2tg',
user: req.user.email,
user: req.user,
issuerEntityId: 'oERPzHYrSKC8Cwxx3-IewA',
});
} catch (err) {
Expand Down

0 comments on commit 565cc1c

Please sign in to comment.