Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: suyanhanx <[email protected]>
  • Loading branch information
suyanhanx committed Jul 5, 2023
1 parent ca691a9 commit 9b4c2b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/service_test_dropbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ jobs:
- name: Test
shell: bash
working-directory: core
run: cargo nextest run dropbox --features=services-dropbox
run: cargo test dropbox --features=services-dropbox
3 changes: 2 additions & 1 deletion core/src/services/dropbox/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ impl DropboxCore {
if let Some(mime) = content_type {
request_builder = request_builder.header(header::CONTENT_TYPE, mime);
} else {
request_builder = request_builder.header(header::CONTENT_TYPE, "application/octet-stream");
request_builder =
request_builder.header(header::CONTENT_TYPE, "application/octet-stream");
}
let request = self
.build_auth_header(request_builder)
Expand Down

0 comments on commit 9b4c2b4

Please sign in to comment.