Skip to content

Commit

Permalink
use description?
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Sep 8, 2024
1 parent 87d91b0 commit 56ee3dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CashuWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class CashuWallet {
const mintQuotePayload: MintQuotePayload = {
unit: this._unit,
amount: amount,
description: description || null
description: description
};
return await this.mint.createMintQuote(mintQuotePayload);
}
Expand Down
2 changes: 1 addition & 1 deletion src/model/types/wallet/payloads.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export type MintQuotePayload = {
/**
* Description for the invoice
*/
description: string | null;
description?: string;
};

/**
Expand Down

0 comments on commit 56ee3dd

Please sign in to comment.