totaljs / framework

Node.js framework
http://www.totaljs.com
Other
4.36k stars 450 forks source link

Schema delegate argument only ErrorBuilder when use async #607

Closed ckpiggy closed 6 years ago

ckpiggy commented 6 years ago
schema.setSave(async function ($) {...}

The '$' become ErrorBuilder when add 'async' before delegate function 2018-01-31 4 22 09

petersirka commented 6 years ago

Hi @ckpiggy, I have fixed it $ npm install total.js@beta ...

ckpiggy commented 6 years ago

@petersirka it works!!