Skip to content

Commit b13e5de

Browse files
committed
fix: Variable naming
1 parent b74a8b4 commit b13e5de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

objectstore-server/src/endpoints/objects.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ async fn objects_post(
5656
metadata.time_created = Some(SystemTime::now());
5757

5858
let stream = body.into_data_stream().map_err(io::Error::other).boxed();
59-
let response_path = service
59+
let response_id = service
6060
.insert_object(context, None, &metadata, stream)
6161
.await?;
6262
let response = Json(InsertObjectResponse {
63-
key: response_path.key().to_string(),
63+
key: response_id.key().to_string(),
6464
});
6565

6666
Ok((StatusCode::CREATED, response).into_response())

0 commit comments

Comments
 (0)