Skip to content

Commit

Permalink
fix(assignments-service): Write Moss result in the correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Oct 2, 2024
1 parent e821721 commit 085b217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/apps/assignments/src/moss/moss.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class MossService {
moss.language = lang;
moss.files = files.filter(file => exts.some(ext => file.name.endsWith(ext)));
const result = await moss.send();
await this.assignmentService.update(assignment._id, {'classroom.mossResult': result});
await this.assignmentService.update(assignment._id, {'moss.result': result});
return result;
}
}

0 comments on commit 085b217

Please sign in to comment.