mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08:00
Fix the http-ui crate
This commit is contained in:
parent
312c2d1d8e
commit
78fe4259a9
@ -391,7 +391,7 @@ async fn main() -> anyhow::Result<()> {
|
||||
|
||||
match result {
|
||||
Ok(_) => wtxn.commit().map_err(Into::into),
|
||||
Err(e) => Err(e)
|
||||
Err(e) => Err(e.into()),
|
||||
}
|
||||
}
|
||||
UpdateMeta::ClearDocuments => {
|
||||
@ -401,7 +401,7 @@ async fn main() -> anyhow::Result<()> {
|
||||
|
||||
match builder.execute() {
|
||||
Ok(_count) => wtxn.commit().map_err(Into::into),
|
||||
Err(e) => Err(e)
|
||||
Err(e) => Err(e.into()),
|
||||
}
|
||||
}
|
||||
UpdateMeta::Settings(settings) => {
|
||||
@ -471,7 +471,7 @@ async fn main() -> anyhow::Result<()> {
|
||||
|
||||
match result {
|
||||
Ok(_count) => wtxn.commit().map_err(Into::into),
|
||||
Err(e) => Err(e)
|
||||
Err(e) => Err(e.into()),
|
||||
}
|
||||
}
|
||||
UpdateMeta::Facets(levels) => {
|
||||
@ -486,7 +486,7 @@ async fn main() -> anyhow::Result<()> {
|
||||
}
|
||||
match builder.execute() {
|
||||
Ok(()) => wtxn.commit().map_err(Into::into),
|
||||
Err(e) => Err(e)
|
||||
Err(e) => Err(e.into()),
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user