Compare commits

..

No commits in common. "96e5c6c51c64ff06233117d423d0bb9bcf47bce8" and "277f8a20fbea9b0f094523b3a3f71c9651d3b170" have entirely different histories.

3 changed files with 11 additions and 16 deletions

View File

@ -36,15 +36,13 @@ export async function getSybilFeePercent () {
export async function perform ({
invoiceId,
comment,
lud18Data,
noteStr
lud18Data
}, { me, tx }) {
const invoice = await tx.invoice.update({
where: { id: invoiceId },
data: {
comment,
lud18Data,
...(noteStr ? { desc: noteStr } : {})
lud18Data
},
include: { invoiceForward: true }
})

View File

@ -5,6 +5,11 @@
-webkit-touch-callout: none;
}
.upvote:hover {
fill: var(--hover-fill) !important;
filter: var(--hover-filter) !important;
}
.boost {
fill: var(--theme-clickToContextColor);
user-select: none;
@ -12,16 +17,9 @@
-webkit-touch-callout: none;
}
@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:hover {
fill: var(--hover-fill) !important;
filter: var(--hover-filter) !important;
}
.boost.boosted {

View File

@ -82,8 +82,7 @@ export default async ({ query: { username, amount, nostr, comment, payerdata: pa
description,
descriptionHash,
comment: comment || '',
lud18Data: parsedPayerData,
noteStr
lud18Data: parsedPayerData
}, { models, lnd, me: user })
if (!invoice?.bolt11) throw new Error('could not generate invoice')