diff --git a/lib/src/sql/thing.rs b/lib/src/sql/thing.rs index ac51ea81..b1dc6be1 100644 --- a/lib/src/sql/thing.rs +++ b/lib/src/sql/thing.rs @@ -69,7 +69,7 @@ impl Serialize for Thing { val.serialize_field("id", &self.id)?; val.end() } else { - let output = format!("{}:{}", self.tb, self.id); + let output = self.to_string(); serializer.serialize_some(&output) } }