fix(forgejo): 🚑 wait im dumb

This commit is contained in:
May 2024-11-23 00:40:48 -08:00
parent aaea2e0c7c
commit 98b5853a34
Signed by: split
GPG key ID: C325C61F0BF517C0

View file

@ -29,7 +29,7 @@ export default translator({
"Content-Type": "application/json", "Content-Type": "application/json",
}, },
body: JSON.stringify({ body: JSON.stringify({
avatar: `data:${avatar.type};base64,${Buffer.from( image: `data:${avatar.type};base64,${Buffer.from(
await avatar.arrayBuffer() await avatar.arrayBuffer()
).toString("base64")}`, ).toString("base64")}`,
}), }),