Skip to content

Commit

Permalink
Removing old method
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljolley committed Dec 19, 2023
1 parent f526b08 commit d4682e3
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/scripts/supabase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,3 @@ export async function getAnalytics() {
}
return [];
}

export async function getMentions(target: string) {
try {
const response = await supabase
.from("mentions")
.select("*")
.eq("target", target)
.order("published", { ascending: false });

if (response.data) {
return response.data;
}
} catch (error) {
console.error(error);
}
return [];
}

0 comments on commit d4682e3

Please sign in to comment.