From fd06d6ecfab4de4226335de69538e185b7a94aff Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Mon, 23 Aug 2021 14:42:35 +0200 Subject: [PATCH] Remove useless spacings --- app/Controllers/Http/InformationsController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controllers/Http/InformationsController.ts b/app/Controllers/Http/InformationsController.ts index 58bee6e..843b7af 100644 --- a/app/Controllers/Http/InformationsController.ts +++ b/app/Controllers/Http/InformationsController.ts @@ -5,7 +5,7 @@ import getTranslation from "App/Tasks/getTranslation"; export default class InformationsController { - public async index ( { response }: HttpContextContract ) { + public async index ({ response }: HttpContextContract) { return response.status(200).send({ informations: await Information .query() @@ -14,7 +14,7 @@ export default class InformationsController { }) } - public async update ( { response, request }: HttpContextContract ) { + public async update ({ response, request }: HttpContextContract) { const information = await Information.firstOrFail() const data = await request.validate(InformationUpdateValidator)