fix: missing timestamp variable

fix: remove tags array
This commit is contained in:
Sérgio Salgado 2021-07-30 05:37:06 +01:00
parent 54b73b95b4
commit 30bc9c96da
2 changed files with 1 additions and 3 deletions

View file

@ -361,7 +361,7 @@ function plugins (settings, deviceId) {
const phone = tx.phone
const timestamp = dateFormat(new Date(), 'UTC:HH:MM Z')
return sms.getCashOutReadySms(deviceId, phone, code)
return sms.getCashOutReadySms(deviceId, phone, timestamp)
.then(msg => {
const rec = {
sms: msg

View file

@ -28,7 +28,6 @@ const getErrorMsg = (formikErrors, formikTouched, mutationError) => {
const prefill = {
smsCode: {
tags: [],
validator: Yup.string()
.required('The message content is required!')
.trim()
@ -46,7 +45,6 @@ const prefill = {
})
},
cashOutDispenseReady: {
tags: [],
validator: Yup.string()
.required('The message content is required!')
.trim()