chore: remove ekata feature
This commit is contained in:
parent
8b3f93d8f0
commit
c593b60a4e
12 changed files with 8 additions and 184 deletions
|
|
@ -137,12 +137,6 @@ async function updateCustomer (id, data, userToken) {
|
|||
await db.none(sql, [id])
|
||||
}
|
||||
|
||||
if (data.subscriberInfo) {
|
||||
await Promise.all([getCustomerById(id), settingsLoader.loadLatest()])
|
||||
.then(([customer, config]) => sms.getLookup(config, customer.phone))
|
||||
.then(res => updateSubscriberData(id, res, userToken))
|
||||
.catch(logger.error)
|
||||
}
|
||||
invalidateCustomerNotifications(id, formattedData)
|
||||
return getCustomerById(id)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue