course slug improvement

This commit is contained in:
Rotimi Best
2023-10-16 10:24:02 +01:00
parent e48410b241
commit d20a12a049
4 changed files with 6 additions and 8 deletions
-2
View File
@@ -13,8 +13,6 @@ import type {
import { STATUS } from '$lib/utils/constants/course';
import type { PostgrestSingleResponse } from '@supabase/supabase-js';
import htmlElements from '$lib/mocks/html/001_html_elements';
export async function fetchCourse(courseId?: Course['id'], slug?: Course['slug']) {
let match: { slug?: string; id?: string; status?: string } = {};