Not sure if this is correct with the intention of ...
# orm-help
m
Not sure if this is correct with the intention of the tutorial but it seemed to work.
Copy code
return {
    linkIds: queriedLinks.map(link => link.id),
    links: queriedLinks,
    count: queriedLinks.length,
  }
links were not returned as a field.