Skip to content

Commit b40ed1d

Browse files
2 parents 2ab458b + c48506e commit b40ed1d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Scim/SimpleIdServer.Scim/Extensions/SCIMRepresentationExtensions.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ public static JsonObject ToResponse(this SCIMRepresentation representation, stri
180180
representation.ApplyEmptyArray();
181181
}
182182

183-
var attributes = representation.HierarchicalAttributes.Select(a =>
183+
var attributes = representation.HierarchicalAttributes
184+
.Where(p => string.IsNullOrWhiteSpace(p.ParentAttributeId))
185+
.Select(a =>
184186
{
185187
var schema = representation.GetSchema(a);
186188
var order = 1;

0 commit comments

Comments
 (0)