Skip to content

Commit 22f1742

Browse files
committed
Fix
1 parent 45a8e31 commit 22f1742

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/lightning/invoice.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { LnInvoice, createInvoice as breezCreateInvoice } from "@breeztech/react-native-breez-sdk";
1+
import { LnInvoice, createInvoice as breezCreateInvoice, Offer } from "@breeztech/react-native-breez-sdk";
22
import { getInvoice } from "./bolt11";
33

44
export type Invoice = LnInvoice;
55
export { getInvoice };
66

77
// Wrap the SDK's createInvoice function
8-
export const createInvoice = async (amount: number, memo: string) => {
8+
export const createInvoice = async (amount: number, memo: string, offer: string): Promise<Invoice> => {
99
try {
1010
const invoice = await breezCreateInvoice(amount, memo);
1111
return invoice;

0 commit comments

Comments
 (0)