fix build issues

This commit is contained in:
2024-02-21 14:45:33 +01:00
parent 72313304fe
commit 2553ab41c1
6 changed files with 6183 additions and 25 deletions

View File

@@ -76,7 +76,7 @@ export default async function handler(
.split(',')
.filter(Boolean)
const uniqueCategories = [...new Set(allCategories)]
const uniqueCategories = Array.from(new Set(allCategories))
let message = ''
if (maxRiskLevel >= 4) {