Lint Netlify functions
This commit is contained in:
parent
eb85319f73
commit
d2f3cada52
11 changed files with 83 additions and 90 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue