Merge pull request 'fix: error when send to null phone number' (#120) from development into production
Reviewed-on: #120production 1.4.0-production.4
commit
0a98bcfd59
|
@ -91,9 +91,12 @@ export class RegisterQueueManager extends BaseCreateManager<QueueModel> {
|
||||||
item_name: item.name,
|
item_name: item.name,
|
||||||
time: this.result.time,
|
time: this.result.time,
|
||||||
};
|
};
|
||||||
notificationService.queueRegister(payload);
|
|
||||||
const currentTime = moment().valueOf();
|
if (payload.phone) {
|
||||||
this.dataService.updateLastNotification(this.result.id, currentTime);
|
notificationService.queueRegister(payload);
|
||||||
|
const currentTime = moment().valueOf();
|
||||||
|
this.dataService.updateLastNotification(this.result.id, currentTime);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue