Skip to content

Commit

Permalink
fixed typo for serde macro attribute to rename camelCase (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinrp authored Aug 30, 2023
1 parent a5766f9 commit d58bc3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/api/src/v1/package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub struct MissingContent {

/// Represents a request to publish a record to a package log.
#[derive(Serialize, Deserialize)]
#[serde(rename = "camelCase")]
#[serde(rename_all = "camelCase")]
pub struct PublishRecordRequest<'a> {
/// The id of the package being published.
pub id: Cow<'a, PackageId>,
Expand Down

0 comments on commit d58bc3e

Please sign in to comment.