mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-06 20:43:13 +08:00
Created config global state. Reworked WeatherSettings and WeatherWidget to use new config state.
This commit is contained in:
@@ -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
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user