Added group toJSON conversion and fixed syntax errors

This commit is contained in:
Keith Holliday
2016-01-23 13:41:51 -06:00
parent febc48cd41
commit 2063070f18
2 changed files with 2 additions and 3 deletions

View File

@@ -80,9 +80,7 @@ export class ApiGroup extends ApiObject {
let update = { chat };
this.update(update, '$push');
return this;
return await this.update(update);
}
}