summaryrefslogtreecommitdiffstats
path: root/src/api/peers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/peers.rs')
-rw-r--r--src/api/peers.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/peers.rs b/src/api/peers.rs
index c7b3c50..e22f3cd 100644
--- a/src/api/peers.rs
+++ b/src/api/peers.rs
@@ -223,7 +223,8 @@ pub(crate) async fn delete_peer(
}
}
- let record = serde_json::json!({ "at": state.clock.now_millis(), "by": state.local_id() });
+ let record =
+ serde_json::json!({ "at": state.clock.now_millis().as_u64(), "by": state.local_id() });
let peer_clone = peer.clone();
state