Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix core test #2386

Merged
merged 2 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ async fn main() {
}
}

#[allow(unused)]
#[cfg(not(feature = "assets"))]
let state = AppState { auth };

let (node, router) = match Node::new(
Expand Down
3 changes: 2 additions & 1 deletion core/crates/sync/tests/mock_instance.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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,
}))
Expand Down
Loading