fix: POST url : /lightSensor
This commit is contained in:
parent
c6015edd35
commit
b32d4bc6b4
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ public class LightSensorController {
|
|||
return sensorValues.replace(id, value);
|
||||
}
|
||||
|
||||
@PostMapping("/addSensor")
|
||||
@PostMapping("/")
|
||||
public int addSensor() {
|
||||
sensorValues.put(currentMaxId, null);
|
||||
return currentMaxId++;
|
||||
|
|
Loading…
Reference in a new issue