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")}`, }),