Skip to content

Commit

Permalink
Merge pull request #36 from unbekanntes-pferd/fix/0.14.3
Browse files Browse the repository at this point in the history
fix/0.14.3
  • Loading branch information
unbekanntes-pferd authored Aug 13, 2024
2 parents 948ee2e + 07438b4 commit b9bd7f1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dco3"
version = "0.14.2"
version = "0.14.3"
edition = "2021"
authors = ["Octavio Simone"]
repository = "https://github.com/unbekanntes-pferd/dco3"
Expand Down
4 changes: 2 additions & 2 deletions src/tests/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ mod tests {
assert_eq!(customer.space_limit, 100);
assert_eq!(customer.space_used, 10);
assert_eq!(customer.accounts_used, 10);
assert_eq!(customer.cnt_guest_user, 1);
assert_eq!(customer.cnt_internal_user, 9);
assert_eq!(customer.cnt_guest_user.unwrap(), 1);
assert_eq!(customer.cnt_internal_user.unwrap(), 9);
assert_eq!(customer.customer_encryption_enabled, true);
}
}
4 changes: 2 additions & 2 deletions src/user/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ pub struct CustomerData {
pub space_used: u64,
pub accounts_limit: u64,
pub accounts_used: u64,
pub cnt_internal_user: u64,
pub cnt_guest_user: u64,
pub cnt_internal_user: Option<u64>,
pub cnt_guest_user: Option<u64>,
pub customer_encryption_enabled: bool,
}

0 comments on commit b9bd7f1

Please sign in to comment.