Skip to content

Commit

Permalink
TUN-4572: Fixing serialization of list dns records endpoint (#148)
Browse files Browse the repository at this point in the history
Co-authored-by: Rishabh Bector <[email protected]>
  • Loading branch information
rishabh-bector and Rishabh Bector authored Jun 17, 2021
1 parent a1d8276 commit e0587d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cloudflare/src/endpoints/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ pub enum ListDnsRecordsOrder {
#[serde_with::skip_serializing_none]
#[derive(Serialize, Clone, Debug, Default)]
pub struct ListDnsRecordsParams {
#[serde(flatten)]
pub record_type: Option<DnsContent>,
pub name: Option<String>,
pub page: Option<u32>,
Expand Down

0 comments on commit e0587d6

Please sign in to comment.