Skip to content

Commit

Permalink
Merge pull request #504 from stakwork/fix/payment_history
Browse files Browse the repository at this point in the history
changed org_uuid to workspace_uuid
  • Loading branch information
elraphty authored May 7, 2024
2 parents e71e08d + d16027c commit 9fefa20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/people/widgetViews/workspace/AddBudgetModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const AddBudgetModal = (props: AddBudgetModalProps) => {
const data = await main.getBudgetInvoice({
amount: Number(amount),
sender_pubkey: ui.meInfo?.owner_pubkey ?? '',
org_uuid: uuid,
workspace_uuid: uuid,
payment_type: 'deposit'
});

Expand Down
4 changes: 2 additions & 2 deletions src/store/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2144,7 +2144,7 @@ export class MainStore {

async getBudgetInvoice(body: {
amount: number;
org_uuid: string;
workspace_uuid: string;
sender_pubkey: string;
payment_type: string;
}): Promise<LnInvoice> {
Expand All @@ -2153,7 +2153,7 @@ export class MainStore {
'budgetinvoices',
{
amount: body.amount,
org_uuid: body.org_uuid,
workspace_uuid: body.workspace_uuid,
sender_pubkey: body.sender_pubkey,
payment_type: body.payment_type
},
Expand Down

0 comments on commit 9fefa20

Please sign in to comment.