Signed-off-by: Arthur DANJOU <arthurdanjou@outlook.fr>
This commit is contained in:
2021-07-01 23:27:46 +02:00
parent 9d55443ad2
commit 61e9d595a6

View File

@@ -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(`is_${state}`))
return this.getStatus(await Redis.get(`states:is_${state}`))
})
return response.status(200).send({