POST->GET property/get/{id}/value
This commit is contained in:
parent
1acd5506c6
commit
bad017e1dd
@ -44,7 +44,7 @@ public class PropertyController implements ISearchController {
|
||||
return propertyWriter.set(id, Property::setSlug, value == null || value.isEmpty() ? null : value);
|
||||
}
|
||||
|
||||
@PostMapping("get/{id}/value")
|
||||
@GetMapping("get/{id}/value")
|
||||
public Double getValue(@PathVariable final long id) {
|
||||
return channelReader.read(propertyReader.getById(id)).orElse(null);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user