db/events: debug getFilters -> REQ
This commit is contained in:
parent
2b1e97ee1b
commit
da6738a405
|
@ -228,7 +228,7 @@ async function getFilters<K extends number>(
|
||||||
opts: GetFiltersOpts = {},
|
opts: GetFiltersOpts = {},
|
||||||
): Promise<DittoEvent<K>[]> {
|
): Promise<DittoEvent<K>[]> {
|
||||||
if (!filters.length) return Promise.resolve([]);
|
if (!filters.length) return Promise.resolve([]);
|
||||||
debug('getFilters', JSON.stringify(filters));
|
debug('REQ', JSON.stringify(filters));
|
||||||
let query = getFiltersQuery(filters);
|
let query = getFiltersQuery(filters);
|
||||||
|
|
||||||
if (typeof opts.limit === 'number') {
|
if (typeof opts.limit === 'number') {
|
||||||
|
|
Loading…
Reference in New Issue