Skip to content

Commit

Permalink
fix: config-ui is expecting the parentId to be null for the search re…
Browse files Browse the repository at this point in the history
…mote api (apache#6547)
  • Loading branch information
klesh committed Dec 1, 2023
1 parent 38abeb5 commit c90f77a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ func (rss *DsRemoteApiScopeSearchHelper[C, S]) Get(input *plugin.ApiResourceInpu
if err != nil {
return nil, err
}
// the config-ui is expecting the parent id to be null
for i := range scopes {
scopes[i].ParentId = nil
}
return &plugin.ApiResourceOutput{
Body: map[string]interface{}{
"children": scopes,
Expand Down

0 comments on commit c90f77a

Please sign in to comment.