small clean up

This commit is contained in:
keyan 2021-09-09 14:10:15 -05:00
parent 700f4510c4
commit 3f8b5894cb
3 changed files with 1 additions and 4 deletions

View File

@ -352,8 +352,6 @@ const createItem = async (parent, { title, url, text, parentId }, { me, models }
throw new AuthenticationError('you must be logged in')
}
console.log(me)
const [item] = await serialize(models, models.$queryRaw(
`${SELECT} FROM create_item($1, $2, $3, $4, $5) AS "Item"`,
title, url, text, Number(parentId), Number(me.id)))

View File

@ -120,7 +120,6 @@ export function WithdrawlForm () {
useEffect(async () => {
try {
const provider = await requestProvider()
console.log(me)
const { paymentRequest: invoice } = await provider.makeInvoice({
defaultMemo: `Withdrawal for @${me.name} on SN`
})

View File

@ -21,7 +21,7 @@ model User {
items Item[]
mentions Mention[]
messages Message[]
itemActions ItemAct[]
actions ItemAct[]
invoices Invoice[]
withdrawls Withdrawl[]
msats Int @default(0)