Skip to content

Commit

Permalink
remove console.log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
SatsAllDay committed Oct 26, 2023
1 parent ef1214f commit fcc41ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion api/resolvers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ export const getNameCost = async ({ name, me, models }) => {
const distanceResult = await models.$queryRawUnsafe('select name, levenshtein(name, $1) as dist from users where id <> $2 order by dist asc limit 1;', name, me?.id ?? -1)
const { dist } = distanceResult[0]
let cost = 100000 / Math.pow(10, dist - 1)
console.log({ name, distanceResult, dist, cost })
if (cost < 1) {
cost = 0
}
Expand Down
1 change: 0 additions & 1 deletion components/fee-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ export const EditNymFeeButton = ({ onClick }) => {
fetchPolicy: 'no-cache',
nextFetchPolicy: 'no-cache',
onCompleted: data => {
console.log('nameCost', data)
setCost(data.nymCost)
}
})
Expand Down

0 comments on commit fcc41ca

Please sign in to comment.