chore: lint

This commit is contained in:
Mar0xy 2023-10-14 02:05:03 +02:00
parent 2d31c189d8
commit d14b9af93d
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -36,11 +36,11 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
return ctrl.signal;
};
sponsors = await fetch("https://kaifa.ch/transfem-sponsors.json",{ signal: AbortSignal.timeout(2000) })
sponsors = await fetch("https://kaifa.ch/transfem-sponsors.json", { signal: AbortSignal.timeout(2000) })
.then((response) => response.json());
await this.redisClient.set("sponsors", JSON.stringify(sponsors), "EX", 3600);
}
return { sponsor_data: sponsors['sponsors'] };
})
});
}
}