mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-24 17:01:09 -04:00
Fix orderBy that must be filtered out
This commit is contained in:
@@ -53,7 +53,7 @@ export const sendSearchNotifications = async () => {
|
||||
|
||||
for (const row of searches) {
|
||||
if (typeof row.search_filters !== 'object') continue;
|
||||
const { _orderBy, ...filters } = (row.search_filters ?? {}) as Record<string, any>
|
||||
const { orderBy: _, ...filters } = (row.search_filters ?? {}) as Record<string, any>
|
||||
const props = {
|
||||
...filters,
|
||||
skipId: row.creator_id,
|
||||
|
||||
Reference in New Issue
Block a user