From 256831de9a407c8317f73922625149123a5904cd Mon Sep 17 00:00:00 2001 From: TheAsel Date: Tue, 20 Aug 2024 15:48:13 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Removed=20reduntant=20undefined?= =?UTF-8?q?=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/encounter-api-calls.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/encounter-api-calls.ts b/src/utils/encounter-api-calls.ts index 15887c4..3592e36 100644 --- a/src/utils/encounter-api-calls.ts +++ b/src/utils/encounter-api-calls.ts @@ -119,16 +119,16 @@ export async function encounterGenerator(body: { rarities: rarities[] | undefined; families: string[] | undefined; creature_types: string[] | undefined; - challenge?: challenges | undefined; + challenge: challenges | undefined; party_levels: number[]; - min_creatures?: number; - max_creatures?: number; + min_creatures: number | undefined; + max_creatures: number | undefined; allow_weak_variants: boolean; allow_elite_variants: boolean; creature_roles: roles[] | undefined; is_pwl_on: boolean; pathfinder_version: string; - adventure_group?: adventure_groups | undefined; + adventure_group: adventure_groups | undefined; }) { try { const requestOptions = {