fix(forgejo): 🚑 wait im dumb
This commit is contained in:
parent
aaea2e0c7c
commit
98b5853a34
|
@ -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")}`,
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue