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')
|
throw new AuthenticationError('you must be logged in')
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(me)
|
|
||||||
|
|
||||||
const [item] = await serialize(models, models.$queryRaw(
|
const [item] = await serialize(models, models.$queryRaw(
|
||||||
`${SELECT} FROM create_item($1, $2, $3, $4, $5) AS "Item"`,
|
`${SELECT} FROM create_item($1, $2, $3, $4, $5) AS "Item"`,
|
||||||
title, url, text, Number(parentId), Number(me.id)))
|
title, url, text, Number(parentId), Number(me.id)))
|
||||||
|
@ -120,7 +120,6 @@ export function WithdrawlForm () {
|
|||||||
useEffect(async () => {
|
useEffect(async () => {
|
||||||
try {
|
try {
|
||||||
const provider = await requestProvider()
|
const provider = await requestProvider()
|
||||||
console.log(me)
|
|
||||||
const { paymentRequest: invoice } = await provider.makeInvoice({
|
const { paymentRequest: invoice } = await provider.makeInvoice({
|
||||||
defaultMemo: `Withdrawal for @${me.name} on SN`
|
defaultMemo: `Withdrawal for @${me.name} on SN`
|
||||||
})
|
})
|
||||||
|
@ -21,7 +21,7 @@ model User {
|
|||||||
items Item[]
|
items Item[]
|
||||||
mentions Mention[]
|
mentions Mention[]
|
||||||
messages Message[]
|
messages Message[]
|
||||||
itemActions ItemAct[]
|
actions ItemAct[]
|
||||||
invoices Invoice[]
|
invoices Invoice[]
|
||||||
withdrawls Withdrawl[]
|
withdrawls Withdrawl[]
|
||||||
msats Int @default(0)
|
msats Int @default(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user