mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-02-03 13:27:49 +01:00
Remove useless spacings
This commit is contained in:
@@ -5,7 +5,7 @@ import getTranslation from "App/Tasks/getTranslation";
|
|||||||
|
|
||||||
export default class InformationsController {
|
export default class InformationsController {
|
||||||
|
|
||||||
public async index ( { response }: HttpContextContract ) {
|
public async index ({ response }: HttpContextContract) {
|
||||||
return response.status(200).send({
|
return response.status(200).send({
|
||||||
informations: await Information
|
informations: await Information
|
||||||
.query()
|
.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 information = await Information.firstOrFail()
|
||||||
const data = await request.validate(InformationUpdateValidator)
|
const data = await request.validate(InformationUpdateValidator)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user