File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
backend/src/sync/services/sync
web/src/ducks/events/sagas Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,6 @@ export class CompassSyncProcessor {
122122
123123 logger . info ( `Handle Compass event(${ eventId } ): ${ transition } ` ) ;
124124
125- console . log ( transition , "transition" ) ;
126-
127125 switch ( transition ) {
128126 case "NIL->>STANDALONE_SOMEDAY_CONFIRMED" :
129127 case "NIL->>RECURRENCE_BASE_SOMEDAY_CONFIRMED" :
Original file line number Diff line number Diff line change @@ -33,8 +33,6 @@ export function* convertSomedayToCalendarEvent({
3333 try {
3434 const gridEvent = yield * _assembleGridEvent ( payload . event ) ;
3535
36- delete gridEvent . recurrence ;
37-
3836 optimisticEvent = yield * _createOptimisticGridEvent ( gridEvent ) ;
3937
4038 yield * _editEvent ( gridEvent ) ;
@@ -47,7 +45,7 @@ export function* convertSomedayToCalendarEvent({
4745 ) ;
4846 }
4947
50- yield put ( getSomedayEventsSlice . actions . insert ( payload . event . _id ! ) ) ;
48+ yield put ( getSomedayEventsSlice . actions . insert ( payload . event . _id ) ) ;
5149 yield put ( editEventSlice . actions . error ( ) ) ;
5250
5351 handleError ( error as Error ) ;
You can’t perform that action at this time.
0 commit comments