Compare commits
2 Commits
277f8a20fb
...
96e5c6c51c
Author | SHA1 | Date |
---|---|---|
k00b | 96e5c6c51c | |
Riccardo Balbo | eb3efbef57 |
|
@ -36,13 +36,15 @@ export async function getSybilFeePercent () {
|
|||
export async function perform ({
|
||||
invoiceId,
|
||||
comment,
|
||||
lud18Data
|
||||
lud18Data,
|
||||
noteStr
|
||||
}, { me, tx }) {
|
||||
const invoice = await tx.invoice.update({
|
||||
where: { id: invoiceId },
|
||||
data: {
|
||||
comment,
|
||||
lud18Data
|
||||
lud18Data,
|
||||
...(noteStr ? { desc: noteStr } : {})
|
||||
},
|
||||
include: { invoiceForward: true }
|
||||
})
|
||||
|
|
|
@ -5,11 +5,6 @@
|
|||
-webkit-touch-callout: none;
|
||||
}
|
||||
|
||||
.upvote:hover {
|
||||
fill: var(--hover-fill) !important;
|
||||
filter: var(--hover-filter) !important;
|
||||
}
|
||||
|
||||
.boost {
|
||||
fill: var(--theme-clickToContextColor);
|
||||
user-select: none;
|
||||
|
@ -17,9 +12,16 @@
|
|||
-webkit-touch-callout: none;
|
||||
}
|
||||
|
||||
.boost:hover {
|
||||
fill: var(--hover-fill) !important;
|
||||
filter: var(--hover-filter) !important;
|
||||
@media (hover: hover) {
|
||||
.upvote:hover {
|
||||
fill: var(--hover-fill) !important;
|
||||
filter: var(--hover-filter) !important;
|
||||
}
|
||||
|
||||
.boost:hover {
|
||||
fill: var(--hover-fill) !important;
|
||||
filter: var(--hover-filter) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.boost.boosted {
|
||||
|
|
|
@ -82,7 +82,8 @@ export default async ({ query: { username, amount, nostr, comment, payerdata: pa
|
|||
description,
|
||||
descriptionHash,
|
||||
comment: comment || '',
|
||||
lud18Data: parsedPayerData
|
||||
lud18Data: parsedPayerData,
|
||||
noteStr
|
||||
}, { models, lnd, me: user })
|
||||
|
||||
if (!invoice?.bolt11) throw new Error('could not generate invoice')
|
||||
|
|
Loading…
Reference in New Issue