checkpoint
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
use super::*;
|
||||
|
||||
#[allow(unused_macros)]
|
||||
#[macro_export]
|
||||
macro_rules! apibail_not_initialized {
|
||||
() => {
|
||||
return Err(VeilidAPIError::not_initialized())
|
||||
};
|
||||
}
|
||||
|
||||
#[allow(unused_macros)]
|
||||
#[macro_export]
|
||||
macro_rules! apibail_timeout {
|
||||
|
||||
@@ -220,7 +220,7 @@ impl RoutingContext {
|
||||
) -> Result<DHTRecordDescriptor, VeilidAPIError> {
|
||||
let storage_manager = self.api.storage_manager()?;
|
||||
storage_manager
|
||||
.open_record(key, secret, self.unlocked_inner.safety_selection)
|
||||
.open_record(key, writer, self.unlocked_inner.safety_selection)
|
||||
.await
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user