Order Translations by id

This commit is contained in:
2021-10-08 14:58:13 +02:00
parent 4f3ec748be
commit 35756bbc86

View File

@@ -7,7 +7,7 @@ export default class TranslationsController {
public async index ({ response }: HttpContextContract) {
return response.status(200).send({
translations: await Translation.all()
translations: await Translation.query().orderBy('id', 'asc')
})
}