@rmdes/indiekit-endpoint-microsub 1.0.57 → 1.0.60

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.
@@ -222,9 +222,10 @@ export async function item(request, response) {
222
222
  }
223
223
 
224
224
  // Get the channel for this item (needed for mark-read)
225
+ // Note: transformToJf2() renames channelId → _channelId (string)
225
226
  let channel = null;
226
- if (itemDocument.channelId) {
227
- channel = await getChannelById(application, itemDocument.channelId);
227
+ if (itemDocument._channelId) {
228
+ channel = await getChannelById(application, itemDocument._channelId);
228
229
  }
229
230
 
230
231
  const itemBreadcrumbs = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rmdes/indiekit-endpoint-microsub",
3
- "version": "1.0.57",
3
+ "version": "1.0.60",
4
4
  "description": "Microsub endpoint for Indiekit. Enables subscribing to feeds and reading content using the Microsub protocol.",
5
5
  "keywords": [
6
6
  "indiekit",