CLASSROOMIO-T-100: Select only courses belonging to current org and current user is a member

CLASSROOMIO-T-100: Update condition for fetchCourses

CLASSROOMIO-T-100: Select only courses belonging to current org and current user is a member


Co-authored-by: Rotimi Best <[email protected]>


Merge-request: CLASSROOMIO-MR-35
Merged-by: Best Admin <[email protected]>
This commit is contained in:
Rotimi Best
2023-08-07 06:18:30 +00:00
committed by Space Cloud
co-authored by Rotimi Best
parent 92878ad0bd
commit a9c8fbb1fd
4 changed files with 22 additions and 31 deletions
-2
View File
@@ -1,8 +1,6 @@
import { redirect } from '@sveltejs/kit';
export const load = ({ url }) => {
console.log('url', url.hostname);
if (url.hostname === 'classroomio.com') {
throw redirect(301, 'https://about.classroomio.com');
}