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: configurable sub format #99

Merged
merged 5 commits into from
Aug 2, 2022
Merged

Conversation

angela-tran
Copy link
Member

Closes #57

@angela-tran angela-tran added this to the Courtesy Cards milestone Jul 25, 2022
@angela-tran angela-tran self-assigned this Jul 25, 2022
@angela-tran angela-tran changed the title Feat/configurable sub format Feat: configurable sub format Jul 27, 2022
@angela-tran angela-tran marked this pull request as ready for review July 29, 2022 01:39
@angela-tran angela-tran requested a review from a team as a code owner July 29, 2022 01:39
@thekaveman
Copy link
Member

👀

return self._make_token(resp_payload), code
except Exception as ex:
return str(ex), 500
return self._get_response(token_payload)
Copy link
Member

@thekaveman thekaveman Aug 2, 2022

Choose a reason for hiding this comment

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

I imagine some of this will be cleaned up when eligibility-api is introduced.

It could be useful to split the logic of creating the response token from validating the eligibility / doing that check, for testing etc.

@angela-tran angela-tran merged commit c5ccde1 into main Aug 2, 2022
@angela-tran angela-tran deleted the feat/configurable-sub-format branch August 2, 2022 22:18
@angela-tran angela-tran mentioned this pull request Nov 14, 2022
10 tasks
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.

Make sub format check configurable
2 participants