mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-04-16 22:13:14 -04:00
Merge branch 'feature/fix-watchvalue-timestamp-result' into 'main'
fix(wasm): Format watchDhtValue result timestamp as u64 before formatting as string See merge request veilid/veilid!389
This commit is contained in:
commit
cdd44fb68e
@ -628,7 +628,7 @@ pub fn routing_context_watch_dht_values(
|
||||
let res = routing_context
|
||||
.watch_dht_values(key, subkeys, expiration, count)
|
||||
.await?;
|
||||
APIResult::Ok(res.to_string())
|
||||
APIResult::Ok(res.as_u64().to_string())
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -379,7 +379,7 @@ impl VeilidRoutingContext {
|
||||
let res = routing_context
|
||||
.watch_dht_values(key, subkeys, expiration, count)
|
||||
.await?;
|
||||
APIResult::Ok(res.to_string())
|
||||
APIResult::Ok(res.as_u64().to_string())
|
||||
}
|
||||
|
||||
/// Cancels a watch early
|
||||
|
Loading…
x
Reference in New Issue
Block a user