Fixed linting errors

This commit is contained in:
nicolas committed 2021-07-20 20:18:26 +02:00
commit e0abbbb2f1
7 files changed
+519 -442

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
if (req.method == "PATCH" || req.method == "POST") {
const data = {
title: req.body.title,
slug: req.body.slug,
slug: req.body.slug.trim(),
description: req.body.description,
length: parseInt(req.body.length),
hidden: req.body.hidden,