chore: search cleanup
This commit is contained in:
parent
4e94561713
commit
348a0c90f2
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ export default {
|
||||||
const { data, error, count } = await supabaseQuery;
|
const { data, error, count } = await supabaseQuery;
|
||||||
|
|
||||||
if (error) {
|
if (error) {
|
||||||
console.error("Supabase query error:", error);
|
console.error("Query error:", error);
|
||||||
return new Response(JSON.stringify({ error: "Error fetching data" }), {
|
return new Response(JSON.stringify({ error: "Error fetching data" }), {
|
||||||
status: 500,
|
status: 500,
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue