Skip to content

Commit 1fbc31a

Browse files
Update packages/plugin-lightning/src/actions/createInvoice.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent c1cb501 commit 1fbc31a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-lightning/src/actions/createInvoice.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const createInvoiceAction = {
4040
_message: Memory,
4141
state: State,
4242
_options: any,
43-
callback?: any
43+
callback?: (response: { text: string; content?: { success: boolean; invoice?: string } }) => void
4444
) => {
4545
console.log("CreateInvoice action handler called");
4646
const lightningProvider = await initLightningProvider(runtime);

0 commit comments

Comments
 (0)