diff --git a/src/database/key_value/rooms/state_accessor.rs b/src/database/key_value/rooms/state_accessor.rs
index ffdd8acc..ec6956ce 100644
--- a/src/database/key_value/rooms/state_accessor.rs
+++ b/src/database/key_value/rooms/state_accessor.rs
@@ -9,6 +9,7 @@ use ruma::{
events::{room::member::MembershipState, StateEventType},
EventId, RoomId, UserId,
};
+use serde_json::Value;
#[async_trait]
impl service::rooms::state_accessor::Data for KeyValueDatabase {
@@ -131,7 +132,7 @@ impl service::rooms::state_accessor::Data for KeyValueDatabase {
shortstatehash: u64,
event_type: &StateEventType,
state_key: &str,
- ) -> Result