Skip to content

Commit

Permalink
Merge 1d31d9b into 80e19ab
Browse files Browse the repository at this point in the history
  • Loading branch information
Madhu1029 committed Jun 12, 2024
2 parents 80e19ab + 1d31d9b commit 8e72a7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix: service header to use uppercase in case of update and delete (#1528)
2 changes: 1 addition & 1 deletion lib/services/groups/groupService.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function listGroups(service, limit, offset, callback) {
}

function checkServiceIdentity(service, subservice, deviceGroup, callback) {
if (deviceGroup.service === service && deviceGroup.subservice === subservice) {
if (deviceGroup.service === service.toLowerCase() && deviceGroup.subservice === subservice) {
callback(null, deviceGroup);
} else {
callback(new errors.MismatchedService(service, subservice));
Expand Down

0 comments on commit 8e72a7c

Please sign in to comment.