fix: format twilio api response
This commit is contained in:
parent
3c33695b9d
commit
229c77eca2
2 changed files with 23 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ const CustomerData = ({
|
|||
)
|
||||
|
||||
const phone = R.path(['phone'])(customer)
|
||||
const smsData = R.path(['subscriberInfo', 'result'])(customer)
|
||||
const smsData = R.path(['subscriberInfo'])(customer)
|
||||
|
||||
const isEven = elem => elem % 2 === 0
|
||||
|
||||
|
|
@ -373,7 +373,7 @@ const CustomerData = ({
|
|||
name: it,
|
||||
label: onlyFirstToUpper(it),
|
||||
component: TextInput,
|
||||
editable: true
|
||||
editable: false
|
||||
})
|
||||
}, R.keys(smsData) ?? [])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue