mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
use post instead of put
This commit is contained in:
parent
32a0b93096
commit
07dc23d23d
@ -99,7 +99,7 @@ module.exports = function (app, config) {
|
||||
.catch(error => handleErrors(req, res, error));
|
||||
});
|
||||
|
||||
app.put('/features/:featureName/toggle', (req, res) => {
|
||||
app.post('/features/:featureName/toggle', (req, res) => {
|
||||
const featureName = req.params.featureName;
|
||||
const userName = extractUser(req);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user