Skip to content

Commit

Permalink
Merge branch 'hotfix-3.5.9' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
sebduggan committed Mar 28, 2024
2 parents 543ad2d + 9cbf495 commit 1e27868
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 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.9

* [DATAAPI-27](https://projects.pixl8.london/browse/DATAAPI-27) - Function count does not exist in the object
* [DATAAPI-28](https://projects.pixl8.london/browse/DATAAPI-28) - Swagger docs expand api to invalid endpoint url

## v3.5.8

* Validated data not passed through on update single record - PUT
Expand Down
5 changes: 3 additions & 2 deletions services/DataApiQueueService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,9 @@ component {
var actualChanges = {};

for( var recordId in arguments.changedData ) {
if ( arguments.changedData[ recordId ].count() ) {
actualChanges[ recordId ] = arguments.changedData[ recordId ];
var recordChanges = arguments.changedData[ recordId ];
if ( isStruct( recordChanges ) && !structIsEmpty( recordChanges ) ) {
actualChanges[ recordId ] = recordChanges;
}
}

Expand Down
2 changes: 1 addition & 1 deletion services/DataApiSpecService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ component {
, version = _i18nNamespaced( uri="dataapi:api.version" )
, "x-favicon" = _i18nNamespaced( uri="dataapi:api.favicon", defaultValue="" )
};
spec.servers = [ { url="#protocol#://#domain#/api#route#" } ];
spec.servers = [ { url="#protocol#://#domain#/api#ReReplace( route, "/docs$", "" )#" } ];
spec.components = {
schemas = {}
, headers = {}
Expand Down

0 comments on commit 1e27868

Please sign in to comment.