Forgot to add this one
This commit is contained in:
@@ -79,7 +79,7 @@ export const getAllAssignersByCorporate = async (corporateID: string): Promise<s
|
||||
return teacherPromises.filter((x) => !!x).flat() as string[];
|
||||
};
|
||||
|
||||
export const getGroupsForUser = async (admin: string, participant?: string) => {
|
||||
export const getGroupsForUser = async (admin?: string, participant?: string) => {
|
||||
try {
|
||||
const queryConstraints = [
|
||||
...(admin ? [where("admin", "==", admin)] : []),
|
||||
|
||||
Reference in New Issue
Block a user