mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-27 18:10:27 +01:00
@@ -17,7 +17,7 @@ export default class StatesController {
|
|||||||
|
|
||||||
public async get({response}: HttpContextContract) {
|
public async get({response}: HttpContextContract) {
|
||||||
const states = STATES.map(async state => {
|
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({
|
return response.status(200).send({
|
||||||
|
|||||||
Reference in New Issue
Block a user