fix(compose): add diagnostic logging for syndication debugging
Log syndicateTo values, micropubBody, and micropubUrl before the Micropub request to trace why compose replies aren't syndicating to Mastodon/Bluesky.
This commit is contained in:
@@ -301,6 +301,15 @@ export function submitComposeController(mountPath, plugin) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.info(
|
||||||
|
`[ActivityPub] Compose Micropub submission:`,
|
||||||
|
JSON.stringify({
|
||||||
|
syndicateTo: syndicateTo || "(none)",
|
||||||
|
micropubBody: micropubData.toString(),
|
||||||
|
micropubUrl,
|
||||||
|
}),
|
||||||
|
);
|
||||||
|
|
||||||
const micropubResponse = await fetch(micropubUrl, {
|
const micropubResponse = await fetch(micropubUrl, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@rmdes/indiekit-endpoint-activitypub",
|
"name": "@rmdes/indiekit-endpoint-activitypub",
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.",
|
"description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"indiekit",
|
"indiekit",
|
||||||
|
|||||||
Reference in New Issue
Block a user