Skip to content

Commit

Permalink
fix: 🐛 add a way to remove series type
Browse files Browse the repository at this point in the history
  • Loading branch information
lucca180 committed Jan 19, 2025
1 parent d0c0440 commit 45ef7d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/v1/lists/[username]/[list_id]/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const POST = async (req: NextApiRequest, res: NextApiResponse) => {
official_tag: officialTag,
sortBy: sortInfo?.sortBy,
sortDir: sortInfo?.sortDir,
seriesType: seriesType as SeriesType | null,
seriesType: seriesType === 'none' ? null : (seriesType as SeriesType),
slug: slug,
},
});
Expand Down

0 comments on commit 45ef7d0

Please sign in to comment.