fix: ajax

Bug fix, add flush for reference data
This commit is contained in:
Ryan Prather 2025-04-27 23:07:03 -04:00
parent 9aa49c9c2c
commit 6369f5c7b9

View File

@ -248,6 +248,7 @@ class AjaxController extends AbstractController
if ($ref) {
$ref->setContent($data->text);
$emi->persist($ref);
$emi->flush();
$res = $this->json(['msg' => 'Reference updated.']);
}