Skip to content

Commit

Permalink
Fix file path
Browse files Browse the repository at this point in the history
  • Loading branch information
shri committed Sep 4, 2024
1 parent 9fbc9c0 commit 9c889b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/domain/accounts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_signed_user_profile_pic_url(user_id: UUID, extension: str = "webp", expi
s3_client = boto3.client("s3")
signed_url = s3_client.generate_presigned_url(
ClientMethod="get_object",
Params={"Bucket": app_s3_bucket_name, "Key": "users/avatars/{user_id}.webp"},
Params={"Bucket": app_s3_bucket_name, "Key": f"tenants/users/avatars/{user_id}.webp"},
ExpiresIn=expiration,
)
return signed_url
Expand Down

0 comments on commit 9c889b9

Please sign in to comment.