Skip to content

Commit

Permalink
fix (#472): variable typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bencodezen committed Mar 8, 2021
1 parent 4a97d24 commit 271a42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/check-reward.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports.handler = async (event) => {
const payload = JSON.parse(event.body);
const { new: newAchievement } = payload.event.data;

if (newAchivement.type !== 'mission-complete') {
if (newAchievement.type !== 'mission-complete') {
return {
statusCode: 200,
body: 'ok',
Expand Down

0 comments on commit 271a42b

Please sign in to comment.