mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
Add await
This commit is contained in:
@@ -7,7 +7,7 @@ export default class TranslationsController {
|
||||
|
||||
public async index ({ response }: HttpContextContract) {
|
||||
return response.status(200).send({
|
||||
translations: Translation.all()
|
||||
translations: await Translation.all()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user