-
Notifications
You must be signed in to change notification settings - Fork 10
ContentTypes does not have a query method #93
Copy link
Copy link
Open
Labels
Description
authedrequest.contentTypes.query() is not a function
Methods are extended onto the schema in this directory:
https://github.com/Solid-Interactive/grasshopper-core-nodejs/tree/master/lib/db/mongodb
The query method exists on nodes, and it can be seen here:
https://github.com/Solid-Interactive/grasshopper-core-nodejs/blob/master/lib/db/mongodb/nodes.js#L243
A similar method should be created for content types here:
https://github.com/Solid-Interactive/grasshopper-core-nodejs/blob/master/lib/db/mongodb/contentTypes.js
Reactions are currently unavailable