mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user