style: fix linting issues met Prettier
This commit is contained in:
parent
226c9786dd
commit
7834fe0072
1 changed files with 2 additions and 4 deletions
|
@ -116,10 +116,8 @@ const databaseLearningObjectProvider: LearningObjectProvider = {
|
|||
async getLearningObjectsAdministratedBy(adminUsername: string): Promise<FilteredLearningObject[]> {
|
||||
const learningObjectRepo = getLearningObjectRepository();
|
||||
const learningObjects = await learningObjectRepo.findAllByAdmin(adminUsername);
|
||||
return learningObjects
|
||||
.map(it => convertLearningObject(it))
|
||||
.filter(it => it !== null);
|
||||
}
|
||||
return learningObjects.map((it) => convertLearningObject(it)).filter((it) => it !== null);
|
||||
},
|
||||
};
|
||||
|
||||
export default databaseLearningObjectProvider;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue