@sprucelabs/spruce-calendar-components 26.0.14 → 26.0.15
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.
|
@@ -269,7 +269,6 @@ class CalendarEventManager {
|
|
|
269
269
|
const isGoodToPersist = shouldPersist && !isTheSameWithoutBusy;
|
|
270
270
|
this.calendarVc.updateEvent(id, Object.assign(Object.assign({}, rest), { shouldPersist: false }));
|
|
271
271
|
if (isGoodToPersist) {
|
|
272
|
-
console.log('persisting', updatedEvent);
|
|
273
272
|
const response = await this.persister.persist(updatedEvent);
|
|
274
273
|
if (response) {
|
|
275
274
|
updatedEvent = response;
|
|
@@ -298,7 +298,6 @@ export default class CalendarEventManager {
|
|
|
298
298
|
const isGoodToPersist = shouldPersist && !isTheSameWithoutBusy;
|
|
299
299
|
this.calendarVc.updateEvent(id, Object.assign(Object.assign({}, rest), { shouldPersist: false }));
|
|
300
300
|
if (isGoodToPersist) {
|
|
301
|
-
console.log('persisting', updatedEvent);
|
|
302
301
|
const response = yield this.persister.persist(updatedEvent);
|
|
303
302
|
if (response) {
|
|
304
303
|
updatedEvent = response;
|
|
@@ -123,7 +123,6 @@ export default class RemoteEventStoreImpl {
|
|
|
123
123
|
updateEvent(event) {
|
|
124
124
|
return __awaiter(this, void 0, void 0, function* () {
|
|
125
125
|
const { target, payload } = this.splitPayloadAndTarget(event);
|
|
126
|
-
console.log('updateEVent', JSON.stringify(event));
|
|
127
126
|
const client = yield this.connectToApi();
|
|
128
127
|
const results = yield client.emitAndFlattenResponses('calendar.update-calendar-event::v2021_05_19', {
|
|
129
128
|
target: Object.assign({ calendarEventId: event.id }, target),
|
|
@@ -112,7 +112,6 @@ class RemoteEventStoreImpl {
|
|
|
112
112
|
}
|
|
113
113
|
async updateEvent(event) {
|
|
114
114
|
const { target, payload } = this.splitPayloadAndTarget(event);
|
|
115
|
-
console.log('updateEVent', JSON.stringify(event));
|
|
116
115
|
const client = await this.connectToApi();
|
|
117
116
|
const results = await client.emitAndFlattenResponses('calendar.update-calendar-event::v2021_05_19', {
|
|
118
117
|
target: Object.assign({ calendarEventId: event.id }, target),
|