Skip to content

Commit

Permalink
fix: function to put file to s3
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjadkry committed Sep 18, 2024
1 parent 658ef31 commit 55202c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def add_file_to_bucket(bucket_name: str, file_path: str, s3_path: str):
s3_path = f"/{s3_path}"

client = s3_client()
client.fput_object(bucket_name, file_path, s3_path)
client.fput_object(bucket_name, s3_path, file_path)


def add_obj_to_bucket(
Expand Down

0 comments on commit 55202c0

Please sign in to comment.