style: fix linting issues met Prettier
This commit is contained in:
		
							parent
							
								
									e1ffedc079
								
							
						
					
					
						commit
						623ad5cd5c
					
				
					 4 changed files with 6 additions and 10 deletions
				
			
		|  | @ -21,16 +21,15 @@ export class AssignmentController extends BaseController { | |||
|         return this.delete<{ assignment: any }>(`/${num}`); | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|     getSubmissions(assignmentNumber: number, full = true) { | ||||
|         return this.get<{ submissions: any[] }>(`/${assignmentNumber}/submissions`, { full }); | ||||
|     } | ||||
| 
 | ||||
|     getQuestions(assignmentNumber: number, full = true) { | ||||
|         return this.get<{ questions: any[]}>(`/${assignmentNumber}/questions`, { full }); | ||||
|         return this.get<{ questions: any[] }>(`/${assignmentNumber}/questions`, { full }); | ||||
|     } | ||||
| 
 | ||||
|     getGroups(assignmentNumber: number, full = true) { | ||||
|         return this.get<{ groups: any[]}>(`/${assignmentNumber}/groups`, { full }); | ||||
|         return this.get<{ groups: any[] }>(`/${assignmentNumber}/groups`, { full }); | ||||
|     } | ||||
| } | ||||
|  | @ -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 }); | ||||
|     } | ||||
|  |  | |||
|  | @ -21,7 +21,6 @@ export class GroupController extends BaseController { | |||
|         return this.delete<{ group: any }>(`/${num}`); | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|     getSubmissions(groupNumber: number, full = true) { | ||||
|         return this.get<{ groups: any[] }>(`/${groupNumber}/submissions`, { full }); | ||||
|     } | ||||
|  |  | |||
		Reference in a new issue
	
	 Lint Action
						Lint Action