Skip to content

Commit

Permalink
Merge pull request #53 from luca992/fix/EditWebhookRequest-serializaiton
Browse files Browse the repository at this point in the history
fix(EditWebhookRequest) serialization
  • Loading branch information
0xIchigo authored Jun 21, 2024
2 parents 2590773 + b752789 commit e9797a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,9 @@ pub struct CreateCollectionWebhookRequest {
}

#[derive(Serialize, Deserialize, Clone, Debug)]
#[serde(rename_all = "camelCase")]
pub struct EditWebhookRequest {
#[serde(rename = "webhookID")]
#[serde(skip_serializing)]
pub webhook_id: String,
#[serde(rename = "webhookURL")]
pub webhook_url: String,
Expand Down

0 comments on commit e9797a0

Please sign in to comment.