mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 20:19:26 +01:00
Remove useless spacings
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user