Skip to content

Commit

Permalink
feat: use serde_json::to_vec
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgehermo9 committed Nov 5, 2024
1 parent af0cd9b commit 5cd7808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/services/gcs/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ impl GcsCore {
"application/json; charset=UTF-8".parse().unwrap(),
)
.content(
serde_json::to_string(&request_metadata)
serde_json::to_vec(&request_metadata)
.expect("metadata serialization should success"),
);
multipart = multipart.part(metadata_part);
Expand Down

0 comments on commit 5cd7808

Please sign in to comment.