From f41e9cc4fc2c91ef710c6976ca4554840dde22e5 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Wed, 24 Jan 2024 18:51:42 +0100 Subject: Return upload instead of download action in handle_upload_object --- rs/server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rs/server/src') diff --git a/rs/server/src/main.rs b/rs/server/src/main.rs index 7f5a21d..8baa0d6 100644 --- a/rs/server/src/main.rs +++ b/rs/server/src/main.rs @@ -514,7 +514,7 @@ async fn handle_upload_object( size: obj.size, authenticated: Some(true), actions: BatchResponseObjectActions { - download: Some(BatchResponseObjectAction { + upload: Some(BatchResponseObjectAction { header: presigned .headers() .map(|(k, v)| (k.to_owned(), v.to_owned())) -- cgit v1.2.3