changed getAllPresets
parent
bf6af9128a
commit
2f64c62b78
|
|
@ -330,7 +330,7 @@ public class KalenderRestController {
|
||||||
@CrossOrigin("*")
|
@CrossOrigin("*")
|
||||||
@GetMapping("/api/getAllPresets")
|
@GetMapping("/api/getAllPresets")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public List<Preset> savePreset() throws NotFoundError, ARException {
|
public List<Preset> getAllPresets() throws NotFoundError, ARException {
|
||||||
Presets presets = new Presets(javaAPI);
|
Presets presets = new Presets(javaAPI);
|
||||||
return presets.getAll();
|
return presets.getAll();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue