Changes to accomodate Contact

This commit is contained in:
2026-06-01 21:50:38 -04:00
parent eebd4db4d4
commit 8f7dd8d65e
2 changed files with 11 additions and 4 deletions
+9 -2
View File
@@ -6,7 +6,14 @@ pub mod token;
pub mod user;
pub mod init {
pub fn is_uuid_nil(uuid: &uuid::Uuid) -> bool {
uuid.is_nil()
pub fn is_uuid_nil(uuid: &Option<uuid::Uuid>) -> bool {
match uuid {
Some(id) => {
id.is_nil()
}
None => {
true
}
}
}
}