diff --git a/CHANGELOG.md b/CHANGELOG.md index b6b9722..eb827db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/handlers/rest-apis/data/v1/SingleRecord.cfc b/handlers/rest-apis/data/v1/SingleRecord.cfc index eb8edba..57a3c77 100644 --- a/handlers/rest-apis/data/v1/SingleRecord.cfc +++ b/handlers/rest-apis/data/v1/SingleRecord.cfc @@ -74,7 +74,7 @@ component { var updated = dataApiService.updateSingleRecord( entity = entity , recordId = recordId - , data = body + , data = validationData ); if ( updated ) { @@ -96,4 +96,4 @@ component { restResponse.setData( { deleted=deletedCount } ); } -} \ No newline at end of file +}