Compare commits

..

No commits in common. "617a08e3f2e36fcb4eaf568406ae650713f6adc7" and "538bd0e58ef0e929d1e62b2d964b6f25ce91cd01" have entirely different histories.

1 changed files with 0 additions and 4 deletions

View File

@ -99,10 +99,7 @@ export class ChangeStatusBookingHandler
}); });
mappingTransaction(booking); mappingTransaction(booking);
console.log({ dataID, couchData, booking });
if (!couchData) { if (!couchData) {
console.log('save data to couch');
await this.couchService.createDoc( await this.couchService.createDoc(
{ {
_id: booking.id, _id: booking.id,
@ -111,7 +108,6 @@ export class ChangeStatusBookingHandler
'booking', 'booking',
); );
} else { } else {
console.log('update data to couch');
await this.couchService.updateDoc( await this.couchService.updateDoc(
{ {
_id: booking.id, _id: booking.id,