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

Object [object Promise] has no method 'success' #123

Closed
Gtskk opened this issue May 7, 2015 · 2 comments
Closed

Object [object Promise] has no method 'success' #123

Gtskk opened this issue May 7, 2015 · 2 comments

Comments

@Gtskk
Copy link

Gtskk commented May 7, 2015

Object [object Promise] has no method 'success' in app\controllers\home.js:10:24

I think changing 'success' to 'done' should work.

@petecoop
Copy link
Owner

petecoop commented May 7, 2015

Correct method is actually .then() it appears .success() and .done() were deprecated as part of the 2.0 release of sequelize.

@petecoop
Copy link
Owner

petecoop commented May 7, 2015

thanks for finding and posting the issue, have fixed this and published as 2.7.1

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