fix: voeg .js toe submission
This commit is contained in:
		
							parent
							
								
									e8975878aa
								
							
						
					
					
						commit
						3e2c73320b
					
				
					 4 changed files with 16 additions and 16 deletions
				
			
		|  | @ -1,6 +1,6 @@ | |||
| import { Request, Response } from "express"; | ||||
| import { getSubmission } from "../services/submissions"; | ||||
| import { Language, languageMap } from "../entities/content/language"; | ||||
| import { getSubmission } from "../services/submissions.js"; | ||||
| import { Language, languageMap } from "../entities/content/language.js"; | ||||
| 
 | ||||
| interface SubmissionParams { | ||||
|     lohruid: string, | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| import { Submission } from "../entities/assignments/submission.entity"; | ||||
| import { Language } from "../entities/content/language"; | ||||
| import { GroupDTO, mapToGroupDTO } from "./group"; | ||||
| import { mapToStudentDTO, StudentDTO } from "./student"; | ||||
| import { Submission } from "../entities/assignments/submission.entity.js"; | ||||
| import { Language } from "../entities/content/language.js"; | ||||
| import { GroupDTO, mapToGroupDTO } from "./group.js"; | ||||
| import { mapToStudentDTO, StudentDTO } from "./student.js"; | ||||
| 
 | ||||
| export interface SubmissionDTO { | ||||
|     learningObjectHruid: string, | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| import express from 'express'; | ||||
| import { getSubmissionHandler } from '../controllers/submissions'; | ||||
| import { getSubmissionHandler } from '../controllers/submissions.js'; | ||||
| const router = express.Router({ mergeParams: true }); | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| import { getSubmissionRepository } from "../data/repositories"; | ||||
| import { Language } from "../entities/content/language"; | ||||
| import { LearningObjectIdentifier } from "../entities/content/learning-object-identifier"; | ||||
| import { mapToSubmissionDTO, SubmissionDTO } from "../interfaces/submission"; | ||||
| import { getSubmissionRepository } from "../data/repositories.js"; | ||||
| import { Language } from "../entities/content/language.js"; | ||||
| import { LearningObjectIdentifier } from "../entities/content/learning-object-identifier.js"; | ||||
| import { mapToSubmissionDTO, SubmissionDTO } from "../interfaces/submission.js"; | ||||
| 
 | ||||
| export async function getSubmission( | ||||
|     learningObjectHruid: string, | ||||
|  |  | |||
		Reference in a new issue
	
	 Gabriellvl
						Gabriellvl