fix: linter run

This commit is contained in:
Adriaan Jacquet 2025-04-06 22:40:09 +02:00
parent 33f785ebc0
commit 81da765a74
4 changed files with 5 additions and 5 deletions

View file

@ -17,7 +17,7 @@ export class SubmissionRepository extends DwengoEntityRepository<Submission> {
});
}
public findByLearningObject(loId: LearningObjectIdentifier): Promise<Submission[]> {
public async findByLearningObject(loId: LearningObjectIdentifier): Promise<Submission[]> {
return this.find({
learningObjectHruid: loId.hruid,
learningObjectLanguage: loId.language,
@ -25,7 +25,7 @@ export class SubmissionRepository extends DwengoEntityRepository<Submission> {
});
}
public findMostRecentSubmissionForStudent(loId: LearningObjectIdentifier, submitter: Student): Promise<Submission | null> {
public async findMostRecentSubmissionForStudent(loId: LearningObjectIdentifier, submitter: Student): Promise<Submission | null> {
return this.findOne(
{
learningObjectHruid: loId.hruid,