Skip to content

Commit

Permalink
bugfix: use normalised title
Browse files Browse the repository at this point in the history
  • Loading branch information
carbontwelve committed Jan 25, 2023
1 parent 7ea8244 commit 20afc92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/helpers/hashtags.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = {
}

if (found.size > 0) {
found.forEach(tag => tags.add(tagAtlas.findOrCreateByTitle(tag)));
found.forEach(tag => tags.add(tagAtlas.findOrCreateByTitle(tag).title));
item.data.tags = Array.from(tags);
}
}
Expand Down

0 comments on commit 20afc92

Please sign in to comment.