fix: 🚑 i got kwds mixed up
This commit is contained in:
parent
22af0306fa
commit
876e99bed0
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "avahooks",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node ./dist/index.js",
|
||||
|
|
|
@ -10,7 +10,7 @@ export default async function downloadAvatarForPayload(
|
|||
let response = undefined,
|
||||
buf = undefined
|
||||
|
||||
for (let fmt in tryFmts) {
|
||||
for (let fmt of tryFmts) {
|
||||
endpoint.searchParams.delete("format")
|
||||
if (fmt) endpoint.searchParams.append("format", fmt)
|
||||
|
||||
|
|
Loading…
Reference in a new issue