style: fix linting issues met ESLint
This commit is contained in:
		
							parent
							
								
									a0192ddbdf
								
							
						
					
					
						commit
						b45fc47b06
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -90,8 +90,8 @@ export async function createQuestion(loId: LearningObjectIdentifier, questionDat | ||||||
|     let assignment; |     let assignment; | ||||||
| 
 | 
 | ||||||
|     if ((typeof questionData.inGroup.assignment === "number") && (typeof questionData.inGroup.class === "string")) { |     if ((typeof questionData.inGroup.assignment === "number") && (typeof questionData.inGroup.class === "string")) { | ||||||
|         assignment = await fetchAssignment(questionData.inGroup.class as string, |         assignment = await fetchAssignment(questionData.inGroup.class, | ||||||
|             questionData.inGroup.assignment as number); |             questionData.inGroup.assignment); | ||||||
|     } else { |     } else { | ||||||
|         // TODO check if necessary and no conflicts to delete this if
 |         // TODO check if necessary and no conflicts to delete this if
 | ||||||
|         const clazz = await getClassRepository().findById((questionData.inGroup.assignment as AssignmentDTO).within); |         const clazz = await getClassRepository().findById((questionData.inGroup.assignment as AssignmentDTO).within); | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Lint Action
						Lint Action