Fix lud-18 validation imports (#1690)
* fix lud18PayerDataSchema import * fix validateSchema import
This commit is contained in:
parent
4ec36670c3
commit
080459cd21
|
@ -4,9 +4,10 @@ import { lnurlPayDescriptionHashForUser, lnurlPayMetadataString, lnurlPayDescrip
|
|||
import { schnorr } from '@noble/curves/secp256k1'
|
||||
import { createHash } from 'crypto'
|
||||
import { LNURLP_COMMENT_MAX_LENGTH, MAX_INVOICE_DESCRIPTION_LENGTH } from '@/lib/constants'
|
||||
import { validateSchema, lud18PayerDataSchema, toPositiveBigInt } from '@/lib/format'
|
||||
import { toPositiveBigInt } from '@/lib/format'
|
||||
import assertGofacYourself from '@/api/resolvers/ofac'
|
||||
import performPaidAction from '@/api/paidAction'
|
||||
import { validateSchema, lud18PayerDataSchema } from '@/lib/validate'
|
||||
|
||||
export default async ({ query: { username, amount, nostr, comment, payerdata: payerData }, headers }, res) => {
|
||||
const user = await models.user.findUnique({ where: { name: username } })
|
||||
|
|
Loading…
Reference in New Issue