db/events: debug getFilters -> REQ

This commit is contained in:
Alex Gleason 2023-12-28 12:07:49 -06:00
parent 2b1e97ee1b
commit da6738a405
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -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') {