Merge pull request #2611 from ayancey/jannyai-header-bug Fix incorrect JanitorAI/JannyAI import due to incorrect HTTP header

6cd40be5a35f43f4729f1fdb7510c2cff14cda2b

Cohee <18619528+Cohee1207@users.noreply.github.com>

Signed
1 files changed, +1 -1Ignore whitespace
src/endpoints/content-manager.js+1 -1
@@ -434,7 +434,7 @@ async function downloadJannyCharacter(uuid) {
434 const imageResult = await fetch(downloadResult.downloadUrl);434 const imageResult = await fetch(downloadResult.downloadUrl);
435 const buffer = await imageResult.buffer();435 const buffer = await imageResult.buffer();
436 const fileName = `${sanitize(uuid)}.png`;436 const fileName = `${sanitize(uuid)}.png`;
437 const fileType = result.headers.get('content-type');437 const fileType = imageResult.headers.get('content-type');
438438
439 return { buffer, fileName, fileType };439 return { buffer, fileName, fileType };
440 }440 }