mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 11:39:14 +00:00
[-] Remove method to add extra serialized props. This does not work, and the prop being added was already included.
This commit is contained in:
@@ -17,23 +17,6 @@ class Base {
|
||||
}
|
||||
|
||||
_patch(data) { return data; }
|
||||
|
||||
/**
|
||||
* Name that represents this model in the WhatsApp Web Store
|
||||
* @readonly
|
||||
*/
|
||||
static get WAppModel() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extra fields to add to model serialization
|
||||
* @readonly
|
||||
*/
|
||||
static get extraFields() {
|
||||
return [];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = Base;
|
||||
Reference in New Issue
Block a user