mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: fix rustfmt ci test (#5664)
This commit is contained in:
parent
e1c68c1b72
commit
50f5be3e75
@ -122,7 +122,8 @@ impl ResponseParser for ChatRelatedQuestionsResponseParser {
|
||||
fn parse_json(json: JsonValue) -> Result<Self::ValueType, RemoteError> {
|
||||
json
|
||||
.get("data")
|
||||
.and_then(|data| data.as_array()).cloned()
|
||||
.and_then(|data| data.as_array())
|
||||
.cloned()
|
||||
.ok_or(RemoteError::ParseResponse(json))
|
||||
}
|
||||
}
|
||||
|
@ -73,7 +73,6 @@ impl LocalAITest {
|
||||
let plugin = self.manager.get_plugin(plugin_id).await.unwrap();
|
||||
let operation = ChatPluginOperation::new(plugin);
|
||||
|
||||
|
||||
operation.send_message(chat_id, message).await.unwrap()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user