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,
|
||||
time: this.result.time,
|
||||
};
|
||||
|
||||
if (payload.phone) {
|
||||
notificationService.queueRegister(payload);
|
||||
const currentTime = moment().valueOf();
|
||||
this.dataService.updateLastNotification(this.result.id, currentTime);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue