Skip to content

Commit 36b8822

Browse files
escapedcatdylancom
authored andcommitted
fix: update code after rebase #652
1 parent b23ae44 commit 36b8822

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/extension/background-script/actions/accounts/__tests__/all.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe("account all", () => {
4242
application: "LBE",
4343
origin: { internal: true },
4444
prompt: true,
45-
type: "getAccounts",
45+
action: "getAccounts",
4646
};
4747

4848
state.getState = jest.fn().mockReturnValue(mockState);

src/extension/background-script/actions/accounts/all.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import type { MessageAccountAll } from "~/types";
33

44
const all = async (_message: MessageAccountAll) => {
55
const accounts = await state.getState().accounts;
6-
console.log("YOOOO:", accounts);
7-
86
return {
97
data: accounts,
108
};

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export interface MessageAccountInfo extends Omit<MessageDefault, "args"> {
105105
}
106106

107107
export interface MessageAccountAll extends Omit<MessageDefault, "args"> {
108-
type: "getAccounts";
108+
action: "getAccounts";
109109
}
110110
interface LNURLChannelServiceResponse {
111111
uri: string; // Remote node address of form node_key@ip_address:port_number

0 commit comments

Comments
 (0)