small clean up
This commit is contained in:
parent
700f4510c4
commit
3f8b5894cb
|
@ -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)))
|
||||
|
|
|
@ -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`
|
||||
})
|
||||
|
|
|
@ -21,7 +21,7 @@ model User {
|
|||
items Item[]
|
||||
mentions Mention[]
|
||||
messages Message[]
|
||||
itemActions ItemAct[]
|
||||
actions ItemAct[]
|
||||
invoices Invoice[]
|
||||
withdrawls Withdrawl[]
|
||||
msats Int @default(0)
|
||||
|
|
Loading…
Reference in New Issue