mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
use post instead of put
This commit is contained in:
parent
1f5b1c1925
commit
a892c34be4
@ -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