style: fix linting issues met Prettier
This commit is contained in:
parent
e1ffedc079
commit
623ad5cd5c
4 changed files with 6 additions and 10 deletions
|
@ -1,6 +1,5 @@
|
|||
import { BaseController } from "./base-controller";
|
||||
|
||||
|
||||
export class ClassController extends BaseController {
|
||||
constructor() {
|
||||
super("class");
|
||||
|
@ -22,7 +21,6 @@ export class ClassController extends BaseController {
|
|||
return this.delete<{ class: any }>(`/${id}`);
|
||||
}
|
||||
|
||||
|
||||
getStudents(id: string, full = true) {
|
||||
return this.get<{ students: any[] }>(`/${id}/students`, { full });
|
||||
}
|
||||
|
@ -34,4 +32,4 @@ export class ClassController extends BaseController {
|
|||
getAssignments(id: string, full = true) {
|
||||
return this.get<{ assignments: any[] }>(`/${id}/assignments`, { full });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue