Skip to content

Commit

Permalink
fix: fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
tefkah committed Feb 26, 2025
1 parent 55b9d24 commit 7429d81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ const handler = createNextHandler(
cookies: false,
});

const { pubTypeId, stageId, filters, ...rest } = query;
const { pubTypeId, stageId, filters, ...rest } = query ?? {};

const manuallyParsedFilters = manuallyParsePubFilterQueryParams(request.url, query);

Expand Down

0 comments on commit 7429d81

Please sign in to comment.