enhance the core API and default application

This commit is contained in:
Xuan Sang LE
2020-06-05 17:46:04 +02:00
parent fb462fe31b
commit f84da77825
15 changed files with 55 additions and 31 deletions

View File

@ -49,7 +49,7 @@ namespace OS {
* @memberof DB
*/
save(d: any): Promise<API.RequestResult> {
return new Promise(async function (resolve, reject) {
return new Promise(async (resolve, reject) => {
try {
const r = await Ant.OS.API.handle.dbquery("save", {
table: this.table,