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

Each then() should return a value or throw promise/always-return #1

Open
junotomo opened this issue Oct 3, 2019 · 2 comments
Open

Comments

@junotomo
Copy link

junotomo commented Oct 3, 2019

Hi, i followed you tutorial and and tested it by copying your code, but at this part of the code:

.then(function (response) {
  res.send({ status: 'OK'});
})

this error appeared:
Each then() should return a value or throw promise/always-return
how should i proceed?

@migsar
Copy link
Owner

migsar commented Nov 6, 2019

Hi,

Sorry for the very late reply and sorry for the bad documentation. I had not noticed this issue. I think the site is outdated and I'll bring it up to date this weekend, it shouldn't throw an error though.

@migsar
Copy link
Owner

migsar commented Nov 11, 2019

Did an update to the repository but I could not reproduce the problem you mention, can you provide more feedback?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants