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: implement register consent flow #79

Merged
merged 19 commits into from
Jul 13, 2021

Conversation

kleyow
Copy link
Contributor

@kleyow kleyow commented Jul 9, 2021

No description provided.

@kleyow kleyow marked this pull request as ready for review July 12, 2021 01:14
Copy link
Contributor

@lewisdaly lewisdaly left a comment

Choose a reason for hiding this comment

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

Looks good, minor nitpicks.

I feel like all this time working on getting the state machines right is paying off.

const payload: fspiopAPI.Schemas.ParticipantsTypeIDSubIDPostRequest = {
fspId: this.config.authServiceParticipantFSPId
}
const res = await axios.post(alsParticipantURI, payload, axiosConfig)
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't have type definitions for BaseRequests and instead of defining all the types this was easier until I can commit a postParticipantsTypeId function to sdk-standard-components.

import ParticipantsTypeIDHandler from '~/server/handlers/participants/{Type}/{ID}'
import { StateResponseToolkit } from '../../../../../../src/server/plugins/state';
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason to use these instead of the ~?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

auto import in vscode imports them like this and I sometimes miss it.
been meaning to find a way to fix that.

@kleyow
Copy link
Contributor Author

kleyow commented Jul 13, 2021

Going to merge this for now o/

@kleyow kleyow merged commit 0c99035 into mojaloop:master Jul 13, 2021
@kleyow kleyow deleted the feat/consent-register branch July 13, 2021 13:15
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.

None yet

2 participants