mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Added group toJSON conversion and fixed syntax errors
This commit is contained in:
@@ -80,9 +80,7 @@ export class ApiGroup extends ApiObject {
|
||||
|
||||
let update = { chat };
|
||||
|
||||
this.update(update, '$push');
|
||||
|
||||
return this;
|
||||
return await this.update(update);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user