Skip to content

Commit

Permalink
supabase function change
Browse files Browse the repository at this point in the history
  • Loading branch information
jxmoose committed Apr 11, 2024
1 parent 2113ada commit f5b8784
Show file tree
Hide file tree
Showing 2 changed files with 384 additions and 384 deletions.
2 changes: 1 addition & 1 deletion src/supabase/exhibits/queries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ExhibitRow } from '../../types/types';
* @returns A promise that resolves to an array of ExhibitRow objects.
*/
export async function fetchAllExhibits() {
const { data, error } = await supabase.rpc('get_exhibits');
const { data, error } = await supabase.rpc('get_exhibit_details');
if (error) {
throw new Error(error.message);
}
Expand Down
Loading

0 comments on commit f5b8784

Please sign in to comment.