style: fix linting issues met Prettier
This commit is contained in:
		
							parent
							
								
									aa1de9bfa3
								
							
						
					
					
						commit
						aa2d4242ae
					
				
					 5 changed files with 17 additions and 10 deletions
				
			
		|  | @ -1,5 +1,12 @@ | |||
| import express from 'express'; | ||||
| import { createGroupHandler, deleteGroupHandler, getAllGroupsHandler, getGroupHandler, getGroupSubmissionsHandler, putGroupHandler } from '../controllers/groups.js'; | ||||
| import { | ||||
|     createGroupHandler, | ||||
|     deleteGroupHandler, | ||||
|     getAllGroupsHandler, | ||||
|     getGroupHandler, | ||||
|     getGroupSubmissionsHandler, | ||||
|     putGroupHandler, | ||||
| } from '../controllers/groups.js'; | ||||
| 
 | ||||
| const router = express.Router({ mergeParams: true }); | ||||
| 
 | ||||
|  |  | |||
|  | @ -134,7 +134,7 @@ export async function addClassStudent(classId: string, username: string): Promis | |||
|     const cls = await fetchClass(classId); | ||||
|     const newStudent = await fetchStudent(username); | ||||
| 
 | ||||
|     const newStudents = { students: [...cls.students, newStudent] } | ||||
|     const newStudents = { students: [...cls.students, newStudent] }; | ||||
|     await putObject<Class>(cls, newStudents, getClassRepository()); | ||||
| 
 | ||||
|     return mapToClassDTO(cls); | ||||
|  |  | |||
		Reference in a new issue
	
	 Lint Action
						Lint Action