Compare commits
No commits in common. "617a08e3f2e36fcb4eaf568406ae650713f6adc7" and "538bd0e58ef0e929d1e62b2d964b6f25ce91cd01" have entirely different histories.
617a08e3f2
...
538bd0e58e
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue