Skip to content

Commit 81b85c5

Browse files
committed
Fix filtering of types / tracks
1 parent 170cbc5 commit 81b85c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ const { getClient } = require("./src/common/prisma");
5050
// setup express app
5151
const app = express();
5252

53+
// Use extended query parsing so bracket syntax like types[]=F2F is handled as arrays
54+
app.set("query parser", "extended");
55+
5356
// Disable POST, PUT, PATCH, DELETE operations if READONLY is set to true
5457
app.use((req, res, next) => {
5558
if (config.READONLY === true && ["POST", "PUT", "PATCH", "DELETE"].includes(req.method)) {

0 commit comments

Comments
 (0)