diff --git a/front/src/ctfnote/parsers/htb.ts b/front/src/ctfnote/parsers/htb.ts index cb8e62f74..ca81b69a8 100644 --- a/front/src/ctfnote/parsers/htb.ts +++ b/front/src/ctfnote/parsers/htb.ts @@ -72,7 +72,7 @@ const HTBParser: Parser = { challenge_category_id: number; }>; }>(s); - return data != null; + return Array.isArray(data?.challenges); }, };