Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use api-snippets for partyLookup endpoint #71

Merged
merged 2 commits into from
Mar 25, 2021
Merged

feat: use api-snippets for partyLookup endpoint #71

merged 2 commits into from
Mar 25, 2021

Conversation

eoln
Copy link
Contributor

@eoln eoln commented Mar 24, 2021

No description provided.

payee: PayeeLookupRequest
}

// export interface PayeeLookupRequest {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove commented code.

@@ -132,14 +132,21 @@ export class PISPTransactionModel

async onRequestPartyLookup (): Promise<void> {
InvalidPISPTransactionDataError.throwIfInvalidProperty(this.data, 'payeeRequest')
InvalidPISPTransactionDataError.throwIfInvalidProperty(this.data!.payeeRequest as Record<string, unknown>, 'payee')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is quite nice

@eoln eoln merged commit 4677e3e into mojaloop:master Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants