fix: missing timestamp variable
fix: remove tags array
This commit is contained in:
parent
54b73b95b4
commit
30bc9c96da
2 changed files with 1 additions and 3 deletions
|
|
@ -361,7 +361,7 @@ function plugins (settings, deviceId) {
|
||||||
|
|
||||||
const phone = tx.phone
|
const phone = tx.phone
|
||||||
const timestamp = dateFormat(new Date(), 'UTC:HH:MM Z')
|
const timestamp = dateFormat(new Date(), 'UTC:HH:MM Z')
|
||||||
return sms.getCashOutReadySms(deviceId, phone, code)
|
return sms.getCashOutReadySms(deviceId, phone, timestamp)
|
||||||
.then(msg => {
|
.then(msg => {
|
||||||
const rec = {
|
const rec = {
|
||||||
sms: msg
|
sms: msg
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@ const getErrorMsg = (formikErrors, formikTouched, mutationError) => {
|
||||||
|
|
||||||
const prefill = {
|
const prefill = {
|
||||||
smsCode: {
|
smsCode: {
|
||||||
tags: [],
|
|
||||||
validator: Yup.string()
|
validator: Yup.string()
|
||||||
.required('The message content is required!')
|
.required('The message content is required!')
|
||||||
.trim()
|
.trim()
|
||||||
|
|
@ -46,7 +45,6 @@ const prefill = {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
cashOutDispenseReady: {
|
cashOutDispenseReady: {
|
||||||
tags: [],
|
|
||||||
validator: Yup.string()
|
validator: Yup.string()
|
||||||
.required('The message content is required!')
|
.required('The message content is required!')
|
||||||
.trim()
|
.trim()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue