nylas 5.10.3 → 5.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/models/event.js +3 -0
- package/package.json +1 -1
package/lib/models/event.js
CHANGED
|
@@ -131,6 +131,9 @@ var Event = /** @class */ (function (_super) {
|
|
|
131
131
|
if (json.when && json.when.object) {
|
|
132
132
|
delete json.when.object;
|
|
133
133
|
}
|
|
134
|
+
if (!this.notifications) {
|
|
135
|
+
delete json.notifications;
|
|
136
|
+
}
|
|
134
137
|
return json;
|
|
135
138
|
};
|
|
136
139
|
Event.prototype.rsvp = function (status, comment, callback) {
|