Skip to content

Commit

Permalink
Merge branch 'feature-DATAAPI-25_pass-validated-data-to-update-record…
Browse files Browse the repository at this point in the history
…' into release-3.6.0
  • Loading branch information
DominicWatson committed Oct 13, 2023
2 parents b35c9da + f5d6f9d commit e88817f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v3.5.7

* Always return id field in entity GETs
* Stop silent try/catch that could lead to inconsistent return form of atomic data api queue items

## v3.5.6

* Queue with atomic changes do not include default value or generated value fields for INSERT
Expand Down
4 changes: 2 additions & 2 deletions handlers/rest-apis/data/v1/SingleRecord.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ component {
var updated = dataApiService.updateSingleRecord(
entity = entity
, recordId = recordId
, data = body
, data = validationData
);

if ( updated ) {
Expand All @@ -96,4 +96,4 @@ component {

restResponse.setData( { deleted=deletedCount } );
}
}
}

0 comments on commit e88817f

Please sign in to comment.