Skip to content

Commit 3226cba

Browse files
committed
Minor tweaks
1 parent 0fa2eaf commit 3226cba

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

auth-api/src/auth_api/services/gcp_queue/gcp_auth.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ def ensure_authorized_queue_user(f):
3434
"""Ensures the user is authorized to use the queue."""
3535
@functools.wraps(f)
3636
def decorated_function(*args, **kwargs):
37-
if current_app.config.get('DEBUG_REQUEST') is True:
38-
current_app.logger.info(f'Headers: {request.headers}')
3937
# Use CacheControl to avoid re-fetching certificates for every request.
4038
if verify_jwt(CacheControl(Session())):
4139
abort(HTTPStatus.UNAUTHORIZED)

queue_services/account-mailer/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ tag: push ## tag image
131131
#################################################################################
132132

133133
run: ## Run the project in local
134-
. venv/bin/activate && python app.py
134+
. venv/bin/activate && python -m flask run -p 5002
135135

136136
#################################################################################
137137
# Self Documenting Commands #

queue_services/auth-queue/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ tag: push ## tag image
131131
#################################################################################
132132

133133
run: ## Run the project in local
134-
. venv/bin/activate && python app.py
134+
. venv/bin/activate && python -m flask run -p 5001
135135

136136
#################################################################################
137137
# Self Documenting Commands #

queue_services/auth-queue/src/auth_queue/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Province of British Columbia
1+
# Copyright © 2024 Province of British Columbia
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)