Skip to content

ContentTypes does not have a query method #93

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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