Akshat | TP-12345 | fix tesseract id status updation (#72)

This commit is contained in:
Akshat Soni
2023-05-08 11:53:14 +05:30
committed by GitHub Enterprise
parent bf79010b99
commit fe5251dad7

View File

@@ -138,7 +138,7 @@ public class ExperimentControllerV2 {
@PostMapping("/tesseract-id-status")
@Timed(value = "tesseract.id.status.update", percentiles = {0.95, 0.99})
public void updateStatusOfTesseractId(TesseractIdStatusResponse response) {
public void updateStatusOfTesseractId(@RequestBody TesseractIdStatusResponse response) {
log.info("updating status of tesseract_id: {} to {}", response.getTesseractId(), response.getStatus().toString());
experimentMetricResultService.updateStatusOfTesseractId(response);
}