Load data inconsistencies async from API

[MAILPOET-6219]
This commit is contained in:
Rostislav Wolny
2024-09-10 14:48:10 +02:00
committed by Aschepikov
parent a4c901fba7
commit f3d6813d97
6 changed files with 26 additions and 17 deletions

View File

@ -63,6 +63,10 @@ class Help extends APIEndpoint {
}
}
public function getInconsistentDataStatus(): Response {
return $this->successResponse($this->dataInconsistencyController->getInconsistentDataStatus());
}
public function fixInconsistentData($data): Response {
try {
$this->dataInconsistencyController->fixInconsistentData($data['inconsistency'] ?? '');