Fix RedisStorage::update_dialogue

This commit is contained in:
Temirkhan Myrzamadi 2021-03-29 12:20:17 +06:00
parent ca60e52f43
commit fff0b670fb

View file

@ -92,7 +92,7 @@ where
Box::pin(async move {
let dialogue =
self.serializer.serialize(&dialogue).map_err(RedisStorageError::SerdeError)?;
self.conn.lock().await.set::<_, Vec<u8>, Option<Vec<u8>>>(chat_id, dialogue).await?;
self.conn.lock().await.set::<_, Vec<u8>, _>(chat_id, dialogue).await?;
Ok(())
})
}