Linting code

This commit is contained in:
David Négrier 2021-01-18 15:43:27 +01:00
parent 65d2c3dfb0
commit 0d4808231a
3 changed files with 5 additions and 4 deletions

View file

@ -12,6 +12,7 @@ export class BaseController {
/**
* Turns any exception into a HTTP response (and logs the error)
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
protected errorToResponse(e: any, res: HttpResponse): void {
console.error("An error happened", e);
if (e.response) {