Skip to content

Commit 39a8568

Browse files
committed
Fix orderBy that must be filtered out
1 parent e150244 commit 39a8568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/api/src/send-search-notifications.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const sendSearchNotifications = async () => {
5353

5454
for (const row of searches) {
5555
if (typeof row.search_filters !== 'object') continue;
56-
const { _orderBy, ...filters } = (row.search_filters ?? {}) as Record<string, any>
56+
const { orderBy: _, ...filters } = (row.search_filters ?? {}) as Record<string, any>
5757
const props = {
5858
...filters,
5959
skipId: row.creator_id,

0 commit comments

Comments
 (0)