Skip to content

Commit

Permalink
fix: db key
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Dec 31, 2024
1 parent 391f715 commit f274ac1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codeforlife/settings/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from ..types import JsonDict
from .custom import ENV, SERVICE_BASE_DIR, SERVICE_BASE_URL, SERVICE_NAME
from .otp import APP_ID, AWS_S3_APP_BUCKET, AWS_S3_APP_FOLDER
from .otp import AWS_S3_APP_BUCKET, AWS_S3_APP_FOLDER

if t.TYPE_CHECKING:
from mypy_boto3_s3.client import S3Client
Expand Down Expand Up @@ -51,7 +51,7 @@ def get_databases():
s3: "S3Client" = boto3.client("s3")
db_data_object = s3.get_object(
Bucket=t.cast(str, AWS_S3_APP_BUCKET),
Key=f"{AWS_S3_APP_FOLDER}/dbMetadata/{APP_ID}/db.dbdata",
Key=f"{AWS_S3_APP_FOLDER}/dbMetadata/codeforlife/db.dbdata",
)

# Load the object as a JSON dict.
Expand Down

0 comments on commit f274ac1

Please sign in to comment.