fix: remove peer dependencies being used
This commit is contained in:
parent
0daa17a1cd
commit
294db780b3
3 changed files with 524 additions and 84 deletions
|
|
@ -1,6 +1,3 @@
|
|||
|
||||
const dateFormat = require('dateformat')
|
||||
|
||||
const ph = require('./plugin-helper')
|
||||
const { utils: coinUtils } = require('@lamassu/coins')
|
||||
const _ = require('lodash/fp')
|
||||
|
|
@ -104,7 +101,10 @@ function formatSmsReceipt (data, options) {
|
|||
message = message.concat(`Address: ${data.address}\n`)
|
||||
}
|
||||
|
||||
const timestamp = dateFormat(new Date(), 'UTC:HH:MM Z')
|
||||
const timestamp = `${(new Date()).toISOString().substring(11, 19)} UTC`
|
||||
|
||||
//`10:46:21 PM UTC`
|
||||
|
||||
const postReceiptSmsPromise = getSms(RECEIPT, data.customerPhone, { timestamp })
|
||||
|
||||
return Promise.all([smsNotices.getSMSNotice(RECEIPT), postReceiptSmsPromise])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue