mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 12:13:27 +00:00
Fix core test (#2386)
* Fix core test * Import CompressedCRDTOperations --------- Co-authored-by: Ericson "Fogo" Soares <ericson.ds999@gmail.com>
This commit is contained in:
parent
57b0139240
commit
2c777e53f1
|
@ -144,7 +144,7 @@ async fn main() {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
#[cfg(not(feature = "assets"))]
|
||||
let state = AppState { auth };
|
||||
|
||||
let (node, router) = match Node::new(
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
use sd_core_sync::*;
|
||||
use sd_prisma::prisma;
|
||||
use sd_sync::CompressedCRDTOperations;
|
||||
use sd_utils::uuid_to_bytes;
|
||||
|
||||
use prisma_client_rust::chrono::Utc;
|
||||
|
@ -122,7 +123,7 @@ impl Instance {
|
|||
ingest
|
||||
.event_tx
|
||||
.send(ingest::Event::Messages(ingest::MessagesEvent {
|
||||
messages,
|
||||
messages: CompressedCRDTOperations::new(messages),
|
||||
has_more: false,
|
||||
instance_id: instance1.id,
|
||||
}))
|
||||
|
|
Loading…
Reference in a new issue