Skip to content

Fix nested promise on Model

Compare
Choose a tag to compare
@marshallswain marshallswain released this 23 Oct 20:56
· 680 commits to master since this release

The BaseModel's static methods for actions were specified as async, and they were also returning a promise. This double-promise wrapper was always returning undefined. They are no longer specified as async, and still return a promise.