diff --git a/app/Controllers/Http/StatesController.ts b/app/Controllers/Http/StatesController.ts index 05861d7..1f4a52f 100755 --- a/app/Controllers/Http/StatesController.ts +++ b/app/Controllers/Http/StatesController.ts @@ -17,7 +17,7 @@ export default class StatesController { public async get({response}: HttpContextContract) { const states = STATES.map(async state => { - return this.getStatus(await Redis.get(`states:is_${state}`)) + return this.getStatus(await Redis.get(`states:is_${state.state}`)) }) return response.status(200).send({