MCPcopy Create free account
hub / github.com/cameri/nostream / getPendingInvoices

Method getPendingInvoices

src/services/payments-service.ts:27–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 ) {}
26
27 public async getPendingInvoices(): Promise<Invoice[]> {
28 logger('get pending invoices')
29 try {
30 return await this.invoiceRepository.findPendingInvoices(0, 10)
31 } catch (error) {
32 logger.error('Unable to get pending invoices.', error)
33
34 throw error
35 }
36 }
37
38 public async getInvoiceFromPaymentsProcessor(invoice: Invoice | string): Promise<Partial<Invoice>> {
39 try {

Callers

nothing calls this directly

Calls 1

findPendingInvoicesMethod · 0.65

Tested by

no test coverage detected