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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user