save record, then try to update (#1087)

This commit is contained in:
Charles 2025-03-15 15:33:20 -04:00 committed by GitHub
parent 44111696df
commit 3e26a1cf09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -592,9 +592,7 @@ class EditNode extends EditRecord
}
try {
$this->record = $this->nodeUpdateService->handle($record, $data);
return $this->record;
$record = $this->nodeUpdateService->handle($record, $data);
} catch (Exception $exception) {
$this->errored = true;
@ -606,8 +604,9 @@ class EditNode extends EditRecord
->warning()
->send();
return parent::handleRecordUpdate($record, $data);
}
return parent::handleRecordUpdate($record, $data);
}
protected function getSavedNotification(): ?Notification