-
Notifications
You must be signed in to change notification settings - Fork 69
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
25143 - remove product / add previously approved product support #3200
Conversation
a7f2a1f
to
c6ef6e1
Compare
Quality Gate passedIssues Measures |
@@ -23,6 +23,7 @@ | |||
class Error(Enum): | |||
"""Error Codes.""" | |||
|
|||
INVALID_ORG = "The organization ID is in an incorrect format.", HTTPStatus.BAD_REQUEST |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this consolidate duplicate code in the org_products route for validating orgId format
return response, status | ||
|
||
|
||
def validate_organization(org_id): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mini helper added so routes can re-use it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue #:
bcgov/entity#25143
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-auth license (Apache 2.0).