Skip to content

Commit

Permalink
JSON stringify the thing
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Nov 30, 2020
1 parent 48e62a8 commit a547bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ query eleventyBackers {
let slug = slugify(supporter.account.name).toLowerCase();
console.log( `Match found for ${supporter.account.email}!` );
if(!avatarmap[slug]) {
console.log(`Could not find avatar in avatarmap.json for ${slug}: ${avatarmap}`);
console.log(`Could not find avatar in avatarmap.json for ${slug}: ${JSON.stringify(avatarmap)}`);
}
return callback(null, {
statusCode: 200,
Expand Down

0 comments on commit a547bfc

Please sign in to comment.