Lint Netlify functions

This commit is contained in:
Taevas 2024-04-27 21:22:48 +02:00
parent eb85319f73
commit d2f3cada52
11 changed files with 83 additions and 90 deletions

View file

@ -7,8 +7,7 @@ const handler: Handler = async () => {
profile: {
activity: HacktheboxInfo[];
};
}>
("https://www.hackthebox.com/api/v4/profile/activity/1063999");
}>("https://www.hackthebox.com/api/v4/profile/activity/1063999");
const pwn = hackthebox.profile.activity.find((a: HacktheboxInfo) => a!.object_type === "machine");
if (!pwn) {