From ea1158c4b0a841f9be8d467f50396ea58cf3352e Mon Sep 17 00:00:00 2001 From: Gavin Stewart Date: Wed, 14 Sep 2022 15:49:53 +1000 Subject: [PATCH] Fix DataAPI create record - include script results --- lib/RESTfm/BackendFileMakerDataApi/OpsRecord.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/RESTfm/BackendFileMakerDataApi/OpsRecord.php b/lib/RESTfm/BackendFileMakerDataApi/OpsRecord.php index 7d3b55b..a11489f 100644 --- a/lib/RESTfm/BackendFileMakerDataApi/OpsRecord.php +++ b/lib/RESTfm/BackendFileMakerDataApi/OpsRecord.php @@ -95,6 +95,9 @@ protected function _createRecord (\RESTfm\Message\Message $restfmMessage, \RESTf $restfmMessage->addRecord(new \RESTfm\Message\Record( $result->getRecordId() )); + + // Script results. + $this->_scriptResultsToInfo($restfmMessage, $result); } /**