Skip to content

Commit

Permalink
fix: rename collection_type to type when deserialize
Browse files Browse the repository at this point in the history
  • Loading branch information
fMeow committed Jul 26, 2020
1 parent 38cf41d commit e99a8d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/collection/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pub struct Info {
pub globally_unique_id: String,
pub is_system: bool,
pub status: Status,
#[serde(rename = "type")]
pub collection_type: CollectionType,
}

Expand Down

0 comments on commit e99a8d5

Please sign in to comment.