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

refactor!: update auth-service to latest thirdparty api definition #106

Merged
merged 8 commits into from
Mar 24, 2022

Conversation

kleyow
Copy link
Contributor

@kleyow kleyow commented Mar 22, 2022

No description provided.

@kleyow kleyow marked this pull request as ready for review March 23, 2022 03:48
.then((exists: boolean): Knex.SchemaBuilder | void => {
if (exists) {
return knex.schema.alterTable('Scope', function (table) {
table.renameColumn('address', 'address')
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this migration doing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is ment to rename accountId to address. I must be sleep deprived.

}

export function down (knex: Knex): Promise<void | Knex.SchemaBuilder> {
return knex.schema.hasTable('Scope')
Copy link
Contributor

Choose a reason for hiding this comment

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

This is meant to reverse whatever the migration was, but I'm not sure what that is, so I can't tell if this is correct

@@ -49,13 +49,13 @@ const PostThirdpartyRequestsVerificationsRequest = {
},
params: {},
payload: {
//TODO:
// TODO:
Copy link
Member

Choose a reason for hiding this comment

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

TODO what? Either we need a follow-up story to do whats needed here or remove this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed.

const RFC8785String = canonicalize(rawChallenge)
console.log(RFC8785String)
Copy link
Member

Choose a reason for hiding this comment

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

debug maybe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks! removed.

@kleyow kleyow merged commit 79edf15 into mojaloop:master Mar 24, 2022
@kleyow kleyow deleted the refactor/auth-service branch March 24, 2022 12:06
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