* Merge main into turbo-monrepo * feat: rename apps * feat: remove supbase videos and serve all from project * feat: move supabase to root * feat: update README * docs: update link
8 lines
204 B
JavaScript
8 lines
204 B
JavaScript
import { supabase } from '$lib/utils/functions/supabase';
|
|
|
|
export async function fetchMarks(courseId) {
|
|
const { data } = await supabase.rpc('get_marks').eq('course_id', courseId);
|
|
|
|
return { data };
|
|
}
|