Skip to content

Commit

Permalink
chore: release v2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburnell committed Aug 13, 2024
1 parent 14b4e2c commit caf31ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions eleventy-cache-webmentions.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ const getReceived = (webmention) => {
return (
webmention["wm-received"] ||
webmention["verified_date"] ||
webmention?.["data"]?.["published"] ||
webmention["published"]
webmention["published"] ||
webmention?.["data"]?.["published"]
);
};

Expand Down Expand Up @@ -94,7 +94,7 @@ const getType = (webmention) => {

const getByType = (webmentions, allowedType) => {
return webmentions.filter((webmention) => {
return allowedTypes === getType(webmention);
return allowedType === getType(webmention);
});
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chrisburnell/eleventy-cache-webmentions",
"version": "2.1.3-beta.3",
"version": "2.1.3",
"description": "Cache webmentions using eleventy-fetch and make them available to use in collections, layouts, pages, etc. in Eleventy.",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit caf31ae

Please sign in to comment.