diff options
author | Rutger Broekhoff | 2024-01-24 18:51:42 +0100 |
---|---|---|
committer | Rutger Broekhoff | 2024-01-24 18:51:50 +0100 |
commit | f41e9cc4fc2c91ef710c6976ca4554840dde22e5 (patch) | |
tree | 073bc3a3a6f100d8c787bc12cb3a47e1e468ace2 /rs/server/src | |
parent | 5807dcc8969a6062fd989bd61bd7e7658ca573fe (diff) | |
download | gitolfs3-f41e9cc4fc2c91ef710c6976ca4554840dde22e5.tar.gz gitolfs3-f41e9cc4fc2c91ef710c6976ca4554840dde22e5.zip |
Return upload instead of download action in handle_upload_object
Diffstat (limited to 'rs/server/src')
-rw-r--r-- | rs/server/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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( | |||
514 | size: obj.size, | 514 | size: obj.size, |
515 | authenticated: Some(true), | 515 | authenticated: Some(true), |
516 | actions: BatchResponseObjectActions { | 516 | actions: BatchResponseObjectActions { |
517 | download: Some(BatchResponseObjectAction { | 517 | upload: Some(BatchResponseObjectAction { |
518 | header: presigned | 518 | header: presigned |
519 | .headers() | 519 | .headers() |
520 | .map(|(k, v)| (k.to_owned(), v.to_owned())) | 520 | .map(|(k, v)| (k.to_owned(), v.to_owned())) |