|
|
@@ -68,8 +68,8 @@ public class DispatchController {
|
|
|
*/
|
|
|
@PutMapping("updAnomaly")
|
|
|
@PassToken
|
|
|
- private CommRes updAnomaly(String id){
|
|
|
- return dispatchService.updAnomaly(id);
|
|
|
+ private CommRes updAnomaly(@RequestBody Dispatch dispatch){
|
|
|
+ return dispatchService.updAnomaly(dispatch);
|
|
|
}
|
|
|
|
|
|
/**
|