Browse Source

rm extra logs

hosting-provider
Evan Feenstra 5 years ago
parent
commit
1e3696c5c4
  1. 1
      api/controllers/chatTribes.ts
  2. 9
      api/utils/tribes.ts

1
api/controllers/chatTribes.ts

@ -119,7 +119,6 @@ async function editTribe(req, res) {
let okToUpdate = true
if(is_listed) {
try{
console.log("LLLLL",escrow_amount,escrow_millis)
await tribes.edit({
uuid: chat.uuid,
name: name,

9
api/utils/tribes.ts

@ -107,15 +107,6 @@ export async function edit({ uuid, host, name, description, tags, img, price_per
}),
headers: { 'Content-Type': 'application/json' }
})
console.log(JSON.stringify({
uuid,
name, description, tags, img: img || '',
price_per_message: price_per_message || 0,
price_to_join: price_to_join || 0,
escrow_amount: escrow_amount || 0,
escrow_millis: escrow_millis || 0,
owner_alias,
}))
// const j = await r.json()
} catch(e) {
console.log('[tribes] unauthorized to edit')

Loading…
Cancel
Save