fix: remove log
This commit is contained in:
parent
d5272f6cf5
commit
3d011ec079
1 changed files with 0 additions and 5 deletions
|
|
@ -72,14 +72,9 @@ function get (phone) {
|
|||
function update (id, data, userToken, txId) {
|
||||
const formattedData = _.omit(['id'], _.mapKeys(_.snakeCase, data))
|
||||
|
||||
console.log(formattedData)
|
||||
|
||||
const enhancedUpdateData = enhanceAtFields(enhanceOverrideFields(formattedData, userToken))
|
||||
console.log(enhancedUpdateData)
|
||||
const updateData = updateRawData(updateOverride(enhancedUpdateData))
|
||||
|
||||
console.log(updateData)
|
||||
|
||||
const sql = Pgp.helpers.update(updateData, _.keys(updateData), 'customers') +
|
||||
' where id=$1 returning *'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue