1
0
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:
sveisvei 2017-01-09 11:06:10 +01:00
parent 1f5b1c1925
commit a892c34be4

View File

@ -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);