Fix nested promise on Model
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.