Skip to content

Commit 9d1deb6

Browse files
authored
32485 - Downgrade flask to "3.0.2" and a bug fixing (#3661)
1 parent 41000c9 commit 9d1deb6

File tree

5 files changed

+31
-32
lines changed

5 files changed

+31
-32
lines changed

auth-api/poetry.lock

Lines changed: 10 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

auth-api/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ attrs = "24.2.0"
3939
CacheControl = "0.14.0"
4040
cachetools = "5.5.0"
4141
certifi = "2024.8.30"
42-
flask = "3.1.3"
42+
flask = "3.0.2"
4343
itsdangerous = "^2.1.2"
4444
jinja2 = "^3.1.5"
4545
jsonschema = "4.17.3"
@@ -52,7 +52,7 @@ Werkzeug = "^3.1.5"
5252
# VCS dependencies
5353
sql-versioning = { git = "https://github.com/bcgov/sbc-connect-common.git", subdirectory = "python/sql-versioning", branch = "add_column_exclusion" }
5454
flask-jwt-oidc = {git = "https://github.com/seeker25/flask-jwt-oidc.git", branch = "main" }
55-
sbc-common-components = { git = "https://github.com/bcgov/sbc-common-components.git", rev = "master", subdirectory = "python" }
55+
sbc-common-components = { git = "https://github.com/bcgov/sbc-common-components.git", rev = "abb9c9c2e6c39895e773604cabe2f525d1398a51", subdirectory = "python" }
5656
cloud-sql-connector = { git = "https://github.com/bcgov/sbc-connect-common.git", subdirectory = "python/cloud-sql-connector", branch = "main" }
5757
gcp-queue = { git = "https://github.com/bcgov/sbc-connect-common.git", subdirectory = "python/gcp-queue", branch = "main" }
5858
structured-logging = { git = "https://github.com/bcgov/sbc-connect-common.git", subdirectory = "python/structured-logging", branch = "main" }

auth-api/src/auth_api/services/org.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,12 +1005,13 @@ def approve_or_reject(org_id: int, is_approved: bool, client_id: int, task_actio
10051005
org.save()
10061006
# Find admin email addresses
10071007
admin_emails = UserService.get_admin_emails_for_org(org_id)
1008+
origin_url = current_app.config.get("WEB_APP_URL")
10081009
if admin_emails != "":
10091010
if org.access_type in (AccessType.EXTRA_PROVINCIAL.value, AccessType.REGULAR_BCEID.value):
10101011
Org.send_approved_rejected_notification(admin_emails, org.name, org.id, org.status_code, client_id)
10111012
elif org.access_type in (AccessType.GOVM.value, AccessType.GOVN.value):
10121013
Org.send_approved_rejected_govm_govn_notification(
1013-
admin_emails, org.name, org.id, org.status_code, client_id
1014+
admin_emails, org.name, org.id, org.status_code, origin_url, client_id
10141015
)
10151016
else:
10161017
# continue but log error

queue_services/account-mailer/poetry.lock

Lines changed: 16 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

queue_services/account-mailer/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ urllib3 = "2.6.3"
3838
zipp = "3.19.1"
3939

4040
# VCS dependencies
41-
auth-api = { git = "https://github.com/bcgov/sbc-auth.git", branch = "main", subdirectory = "auth-api" }
41+
auth-api = { git = "https://github.com/jxio/sbc-auth.git", branch = "32485_1", subdirectory = "auth-api" }
4242
simple-cloudevent = { git = "https://github.com/daxiom/simple-cloudevent.py.git" }
4343
cloud-sql-python-connector = "^1.13.0"
4444
pkginfo = "^1.12.1.2"

0 commit comments

Comments
 (0)