expose-ids: pass the correct field for global ID (#3669)

This commit is contained in:
François authored and GitHub committed 2023-04-12 12:45:31 -04:00
1 parent ee175f909c
commit d781bb7443
1 file changed
+2 -2
+2 -2
View File
@@ -58,7 +58,7 @@ impl<T> From<Identified<T>> for ObjectId {
// API.
core::num::NonZeroU64::new(1).unwrap(),
#[cfg(feature = "expose-ids")]
identified.1,
identified.0,
)
}
}
@@ -71,7 +71,7 @@ impl<T> From<(Identified<T>, Sendable<T>)> for ObjectId {
// API.
core::num::NonZeroU64::new(1).unwrap(),
#[cfg(feature = "expose-ids")]
id.1,
id.0,
)
}
}