diff --git a/code/util/server.py b/code/util/server.py index bda237b..143724e 100644 --- a/code/util/server.py +++ b/code/util/server.py @@ -58,7 +58,7 @@ def student_post_profile(): json_body: dict = app.current_event.json_body json_body['email'] = email json_body['username'] = email - json_body['resumePdfUrl'] = f"s3://{RUN_ENV}/resume_{email}.pdf" + json_body['resumePdfUrl'] = f"s3://{S3_BUCKET}/resume_{email}.pdf" try: data = json.loads(StudentProfileDetails(**json_body).model_dump_json(), parse_float=Decimal) dynamo_data = convert_to_dynamodb_json(data) diff --git a/samconfig.toml b/samconfig.toml index e80e906..fde8658 100644 --- a/samconfig.toml +++ b/samconfig.toml @@ -7,4 +7,4 @@ region = "us-east-1" confirm_changeset = true capabilities = "CAPABILITY_IAM CAPABILITY_NAMED_IAM" image_repositories = [] -tags = "project=\"infra-resume-book\" techlead=\"jgoon2@illinois.edu\"" \ No newline at end of file +tags = "project=\"infra-resume-book\" techlead=\"dsingh14@illinois.edu\"" \ No newline at end of file