Skip to content

Commit

Permalink
fix: change note type to string (#622)
Browse files Browse the repository at this point in the history
* fix: change note type to string

* fix: change note type to string

Co-authored-by: Yo <56731761+yomarion@users.noreply.github.com>
  • Loading branch information
kevindavee and yomarion committed Oct 13, 2021
1 parent 20dfa5a commit 4cc80d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const arbitrarySalt = 'ea3bc7caf64110ca';
export const paymentInfo = { IBAN: 'FR123456789123456789', BIC: 'CE123456789' };
export const refundInfo = { IBAN: 'FR987654321987654321', BIC: 'CE987654321' };
export const amount = '12345';
export const note = { transactionId: '123456789' };
export const note = '123456789';
export const payeeDelegate = TestData.payeeDelegateRaw.identity;
export const payerDelegate = TestData.payerDelegateRaw.identity;
export const delegateToAdd = TestData.otherIdRaw.identity;
Expand Down
4 changes: 2 additions & 2 deletions packages/types/src/extensions/pn-any-declarative-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ export interface ICreationParameters {
/** Parameters of declareSentPayment and declareSentRefund action */
export interface ISentParameters {
amount: RequestLogicTypes.Amount;
note: any;
note: string;
txHash?: string;
}

/** Parameters of declareReceivedPayment and declareReceivedRefund action */
export interface IReceivedParameters {
amount: RequestLogicTypes.Amount;
note: any;
note: string;
txHash?: string;
}

Expand Down

0 comments on commit 4cc80d7

Please sign in to comment.