From 98b5853a34ec05fc0f51edb53a68b22e85973eb7 Mon Sep 17 00:00:00 2001 From: split Date: Sat, 23 Nov 2024 00:40:48 -0800 Subject: [PATCH] fix(forgejo): :ambulance: wait im dumb --- src/translators/forgejo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/translators/forgejo.ts b/src/translators/forgejo.ts index 2c707b5..08a74fc 100644 --- a/src/translators/forgejo.ts +++ b/src/translators/forgejo.ts @@ -29,7 +29,7 @@ export default translator({ "Content-Type": "application/json", }, body: JSON.stringify({ - avatar: `data:${avatar.type};base64,${Buffer.from( + image: `data:${avatar.type};base64,${Buffer.from( await avatar.arrayBuffer() ).toString("base64")}`, }),