@rmdes/indiekit-endpoint-webmention-io 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,7 +85,7 @@ export const dashboardController = {
85
85
  published: ensureISOString(item.published) || ensureISOString(item.wmReceived),
86
86
  url: item.sourceUrl,
87
87
  user: {
88
- avatar: { src: item.authorPhoto },
88
+ avatar: item.authorPhoto ? { src: item.authorPhoto } : undefined,
89
89
  name: item.authorName || getAuthorName({
90
90
  author: { name: item.authorName, url: item.authorUrl },
91
91
  url: item.sourceUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rmdes/indiekit-endpoint-webmention-io",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Webmention moderation endpoint for Indiekit. Syncs webmentions from webmention.io into MongoDB with delete, block, and privacy removal capabilities.",
5
5
  "keywords": [
6
6
  "indiekit",