mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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));
 | 
					            .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 featureName = req.params.featureName;
 | 
				
			||||||
        const userName = extractUser(req);
 | 
					        const userName = extractUser(req);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user