mbouclas / loopback-ds-tree-mixin

Transform a loopback model into a tree using the Array of Ancestors pattern
MIT License
6 stars 4 forks source link

asTree remote method was not returing the children list with withParent true #5

Closed Jcbobo closed 7 years ago

Jcbobo commented 7 years ago

remote method asTree passing parent to callback instead of tree for including also children in the result