mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-24 13:39:35 +02:00
Weather settings form update functionality. API: update multiple values in one Config query
This commit is contained in:
parent
316bc49f5c
commit
88c8eee982
4 changed files with 95 additions and 70 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue