Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiorowski committed Jun 15, 2023
1 parent d552c68 commit 42f7ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service-users/src/files_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ pub async fn create_file(
.await
.map_err(|e| Status::internal(e.to_string()))?;
let client = Client::new(config);
let file_path = format!("{:?}/{:?}", &file_id, &file.name);
let file_path = format!("{}/{}", &file_id, &file.name);
let upload_type = UploadType::Simple(Media::new(file_path));
let uploaded = client
.upload_object(
Expand Down

0 comments on commit 42f7ec0

Please sign in to comment.