mirror of
https://github.com/pawelmalak/flame.git
synced 2026-02-28 01:13:11 +08:00
Weather settings form update functionality. API: update multiple values in one Config query
This commit is contained in:
@@ -6,13 +6,15 @@ const {
|
||||
getAllPairs,
|
||||
getSinglePair,
|
||||
updateValue,
|
||||
deletePair
|
||||
updateValues,
|
||||
deletePair,
|
||||
} = require('../controllers/config');
|
||||
|
||||
router
|
||||
.route('')
|
||||
.post(createPair)
|
||||
.get(getAllPairs);
|
||||
.get(getAllPairs)
|
||||
.put(updateValues);
|
||||
|
||||
router
|
||||
.route('/:key')
|
||||
|
||||
Reference in New Issue
Block a user