diff --git a/lib/plugins.js b/lib/plugins.js index 1c62cf7e..a3898d4d 100644 --- a/lib/plugins.js +++ b/lib/plugins.js @@ -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 diff --git a/new-lamassu-admin/src/pages/OperatorInfo/CustomSMS/CustomSMSModal.js b/new-lamassu-admin/src/pages/OperatorInfo/CustomSMS/CustomSMSModal.js index ca8a4d85..37201990 100644 --- a/new-lamassu-admin/src/pages/OperatorInfo/CustomSMS/CustomSMSModal.js +++ b/new-lamassu-admin/src/pages/OperatorInfo/CustomSMS/CustomSMSModal.js @@ -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()