Skip to content

Commit bfe5e6f

Browse files
committed
fix: attempt to improve speed
1 parent 9b7e9fa commit bfe5e6f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/app/api/monitoring/route.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,19 @@ async function getSearchResultsByModeId(mode_id: string) {
3535
let query = supabase
3636
.from('scheduled_queries')
3737
.select(`
38-
*
38+
id,
39+
query,
40+
last_analysis_at,
41+
next_analysis_at,
42+
frequency,
43+
mode,
44+
mode_id,
45+
status,
46+
location,
47+
attached_brand_id,
48+
selected_models,
49+
credits_per_run,
50+
include_google_search
3951
`)
4052
.eq('user_id', user_id)
4153
.order('last_analysis_at', { ascending: false });

0 commit comments

Comments
 (0)