Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get method for a model with a specific id does not call fetch callbacks #287

Closed
acifer opened this issue Oct 19, 2017 · 0 comments
Closed
Assignees
Labels
issue: bug Issue reporting a bug

Comments

@acifer
Copy link
Contributor

acifer commented Oct 19, 2017

Node.js version v8.5.0:
npm version 5.3.0:
Strapi version 3.0.0-alpha.6.3:
Operating system mac os sierra 10.12.6:
Steps to reproduce.

  1. Create a new application using strapi new.
  2. Run npm install in the folder to install mongoose.
  3. Create a model name exampleModel using Content Type Builder.
  4. Create content using content manager in exampleModel.
  5. Uncomment before fetch or after fetch, but it only gets called when we give get request for exampleModel/ when we create the exampleModel using POST exampleModel/ but on GET exampleModel/:id it does not get called.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug
Projects
None yet
Development

No branches or pull requests

3 participants