style: fix linting issues met Prettier
This commit is contained in:
parent
56d34adbc0
commit
7ad808cf3b
34 changed files with 244 additions and 214 deletions
|
@ -6,7 +6,7 @@ import { EnvVars, getEnvVar } from '../util/envvars.js';
|
|||
import { Language } from '../entities/content/language.js';
|
||||
import attachmentService from '../services/learning-objects/attachment-service.js';
|
||||
import { NotFoundError } from '@mikro-orm/core';
|
||||
import {BadRequestException} from "../exceptions/bad-request-exception.js";
|
||||
import { BadRequestException } from '../exceptions/bad-request-exception.js';
|
||||
|
||||
function getLearningObjectIdentifierFromRequest(req: Request): LearningObjectIdentifier {
|
||||
if (!req.params.hruid) {
|
||||
|
|
|
@ -8,8 +8,8 @@ import {
|
|||
personalizedForGroup,
|
||||
personalizedForStudent,
|
||||
} from '../services/learning-paths/learning-path-personalization-util.js';
|
||||
import {BadRequestException} from "../exceptions/bad-request-exception.js";
|
||||
import {NotFoundException} from "../exceptions/not-found-exception.js";
|
||||
import { BadRequestException } from '../exceptions/bad-request-exception.js';
|
||||
import { NotFoundException } from '../exceptions/not-found-exception.js';
|
||||
|
||||
/**
|
||||
* Fetch learning paths based on query parameters.
|
||||
|
|
|
@ -60,7 +60,7 @@ export async function createStudentHandler(req: Request, res: Response) {
|
|||
|
||||
if (!newUser) {
|
||||
res.status(500).json({
|
||||
error: 'Something went wrong while creating student'
|
||||
error: 'Something went wrong while creating student',
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue