chore: apply eslint --fix autofixes (remove unnecessary as never casts in tests)
This commit is contained in:
@@ -68,7 +68,7 @@ export class ClassesService {
|
||||
}
|
||||
|
||||
async findAll(query: QueryClassDto, accessibleClassIds?: number[]) {
|
||||
let where: Record<string, unknown> = {};
|
||||
const where: Record<string, unknown> = {};
|
||||
if (query.status) where.status = query.status;
|
||||
if (query.classType) where.classType = query.classType;
|
||||
if (query.keyword) where.name = Like(`%${query.keyword}%`);
|
||||
|
||||
Reference in New Issue
Block a user