Skip to content

Commit

Permalink
fix: filter invoices without paymentRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleSamtoshi committed Nov 9, 2023
1 parent 8779294 commit 9ee3fdb
Show file tree
Hide file tree
Showing 7 changed files with 1,646 additions and 1,014 deletions.
6 changes: 5 additions & 1 deletion core/api/dev/apollo-federation/supergraph.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,8 @@ input IntraLedgerUsdPaymentSendInput
interface Invoice
@join__type(graph: PUBLIC)
{
createdAt: Timestamp!

"""The payment hash of the lightning invoice."""
paymentHash: PaymentHash!

Expand Down Expand Up @@ -717,11 +719,12 @@ type LnInvoice implements Invoice
@join__implements(graph: PUBLIC, interface: "Invoice")
@join__type(graph: PUBLIC)
{
createdAt: Timestamp!
paymentHash: PaymentHash!
paymentRequest: LnPaymentRequest!
paymentSecret: LnPaymentSecret!
paymentStatus: InvoicePaymentStatus!
satoshis: SatAmount
satoshis: SatAmount!
}

input LnInvoiceCreateInput
Expand Down Expand Up @@ -803,6 +806,7 @@ type LnNoAmountInvoice implements Invoice
@join__implements(graph: PUBLIC, interface: "Invoice")
@join__type(graph: PUBLIC)
{
createdAt: Timestamp!
paymentHash: PaymentHash!
paymentRequest: LnPaymentRequest!
paymentSecret: LnPaymentSecret!
Expand Down
Loading

0 comments on commit 9ee3fdb

Please sign in to comment.