diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index 709b79c..0e3692d 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -135,7 +135,7 @@ async function processUrl(msg, url) { } else if (noteId.indexOf("#") > -1) { noteId = noteId.split("#")[0]; } - logger.debug("fedimbed", "Misskey post ID: " + noteId); + logger.verbose("fedimbed", "Misskey post ID: " + noteId); redirUrl = urlObj.origin + "/api/notes/show/"; options.method = "POST"; options.body = JSON.stringify({noteId}); @@ -148,7 +148,7 @@ async function processUrl(msg, url) { } if (redirUrl) { - logger.verbose("fedimbed", `Redirecting "${url}" to "${redirUrl}"`); + logger.verbose("fedimbed", `Redirecting "${url}" to "${redirUrl}": ${JSON.stringify(options)}, ${JSON.stringify(headers)}`); const rawPostData2 = await fetch( redirUrl, Object.assign(options, {