style: fix linting issues met Prettier
This commit is contained in:
parent
902518f9b1
commit
3760b3f6f3
2 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@ import { fetchStudents } from './students.js';
|
||||||
import { ServerErrorException } from '../exceptions/server-error-exception.js';
|
import { ServerErrorException } from '../exceptions/server-error-exception.js';
|
||||||
import { BadRequestException } from '../exceptions/bad-request-exception.js';
|
import { BadRequestException } from '../exceptions/bad-request-exception.js';
|
||||||
import { ConflictException } from '../exceptions/conflict-exception.js';
|
import { ConflictException } from '../exceptions/conflict-exception.js';
|
||||||
import { PostgreSqlExceptionConverter } from "@mikro-orm/postgresql";
|
import { PostgreSqlExceptionConverter } from '@mikro-orm/postgresql';
|
||||||
|
|
||||||
export async function fetchAssignment(classid: string, assignmentNumber: number): Promise<Assignment> {
|
export async function fetchAssignment(classid: string, assignmentNumber: number): Promise<Assignment> {
|
||||||
const classRepository = getClassRepository();
|
const classRepository = getClassRepository();
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
onError: (e) => {
|
onError: (e) => {
|
||||||
showSnackbar(t("failed") + ": " + e.response.data.error || e.message, "error");
|
showSnackbar(t("failed") + ": " + e.response.data.error || e.message, "error");
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue