1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-19 19:49:37 +02:00

Created config global state. Reworked WeatherSettings and WeatherWidget to use new config state.

This commit is contained in:
unknown 2021-06-13 00:16:57 +02:00
parent a5504e6e80
commit d257fbf9a3
15 changed files with 214 additions and 88 deletions

View file

@ -96,9 +96,11 @@ exports.updateValues = asyncWrapper(async (req, res, next) => {
})
})
const config = await Config.findAll();
res.status(200).send({
success: true,
data: {}
data: config
})
})