style: fix linting issues met Prettier
This commit is contained in:
		
							parent
							
								
									a824cdff94
								
							
						
					
					
						commit
						783c91b2e3
					
				
					 11 changed files with 112 additions and 93 deletions
				
			
		|  | @ -1,9 +1,9 @@ | |||
| import { TeacherInvitation } from '../entities/classes/teacher-invitation.entity.js'; | ||||
| import { mapToUserDTO } from './user.js'; | ||||
| import { TeacherInvitationDTO } from '@dwengo-1/common/interfaces/teacher-invitation'; | ||||
| import {getTeacherInvitationRepository} from "../data/repositories"; | ||||
| import {Teacher} from "../entities/users/teacher.entity"; | ||||
| import {Class} from "../entities/classes/class.entity"; | ||||
| import { getTeacherInvitationRepository } from '../data/repositories'; | ||||
| import { Teacher } from '../entities/users/teacher.entity'; | ||||
| import { Class } from '../entities/classes/class.entity'; | ||||
| 
 | ||||
| export function mapToTeacherInvitationDTO(invitation: TeacherInvitation): TeacherInvitationDTO { | ||||
|     return { | ||||
|  | @ -23,6 +23,8 @@ export function mapToTeacherInvitationDTOIds(invitation: TeacherInvitation): Tea | |||
| 
 | ||||
| export function mapToInvitation(sender: Teacher, receiver: Teacher, cls: Class): TeacherInvitation { | ||||
|     return getTeacherInvitationRepository().create({ | ||||
|         sender, receiver, class: cls | ||||
|         sender, | ||||
|         receiver, | ||||
|         class: cls, | ||||
|     }); | ||||
| } | ||||
|  |  | |||
		Reference in a new issue
	
	 Lint Action
						Lint Action