diff --git a/teachertool/src/services/storageService.ts b/teachertool/src/services/storageService.ts index e0677609e6c3..459d6e02c9f6 100644 --- a/teachertool/src/services/storageService.ts +++ b/teachertool/src/services/storageService.ts @@ -152,9 +152,7 @@ export async function getRubric(name: string): Promise { const db = await getDb; let rubric: Rubric | undefined = undefined; - if (name) { - rubric = await db.getRubric(name); - } + rubric = await db.getRubric(name); return rubric; }