diff --git a/package.json b/package.json index 2d7bee0..51b60a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webmention-handler", - "version": "0.0.7", + "version": "0.0.8", "description": "A handler for web mentions", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/classes/web-mention-handler.class.ts b/src/classes/web-mention-handler.class.ts index 8fe28b7..de17fa2 100644 --- a/src/classes/web-mention-handler.class.ts +++ b/src/classes/web-mention-handler.class.ts @@ -102,7 +102,7 @@ export class WebMentionHandler implements IWebMentionHandler{ // seperate page, as such we should normalize it a local author if possible await Promise.all(hEntries.map(async (entry, index) => { if(!entry.author) return; - hEntries[index].author = await normalizeAuthors(entry); + hEntries[index].author = await normalizeAuthors(entry.author); })) let mentions = hEntries.map(h => convertHEntryToMention(h, mention.source, mention.target));