Skip to content

Commit

Permalink
Return false if certified is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrotaje committed Sep 27, 2024
1 parent da29e6e commit f7b8ce7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const attributesSatisfied = (
descriptorAttributes: EServiceAttribute[][],
consumerAttributeIds: Array<TenantAttribute["id"]>
): boolean =>
descriptorAttributes.length > 0 &&
descriptorAttributes.every((attributeList) => {
const attributes = attributeList.map((a) => a.id);
return (
Expand Down

0 comments on commit f7b8ce7

Please sign in to comment.