Skip to content

ContentTypes does not have a query method #93

@pajtai

Description

@pajtai

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions