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