1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-13 00:09:18 +00:00

fix: set id not taking into account in set search (#563)

This commit is contained in:
2024-10-17 23:33:34 +02:00
committed by GitHub
parent 1a52a6f29a
commit 4c96331b93
8 changed files with 165 additions and 2 deletions

View File

@ -29,7 +29,7 @@ const middleware = (fn: (lang: SupportedLanguages, query: Query<object>) => any)
// get the locale directive
const lang = getLang(e)
const query = recordToQuery(data.filters ?? {})
const query = recordToQuery(data.filters ?? data)
// Deprecated code handling
if (data.pagination) {