treewide: cleanup
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ia01590cdeed872cc8ebd16f6ca95f3cc6a6a6964
This commit is contained in:
parent
3a565689c3
commit
df1c46fa5c
16 changed files with 258 additions and 219 deletions
|
|
@ -153,10 +153,12 @@ pub async fn list_plugin_ui_pages(
|
|||
let pages = plugin_manager.list_ui_pages_with_endpoints().await;
|
||||
let entries = pages
|
||||
.into_iter()
|
||||
.map(|(plugin_id, page, allowed_endpoints)| PluginUiPageEntry {
|
||||
plugin_id,
|
||||
page,
|
||||
allowed_endpoints,
|
||||
.map(|(plugin_id, page, allowed_endpoints)| {
|
||||
PluginUiPageEntry {
|
||||
plugin_id,
|
||||
page,
|
||||
allowed_endpoints,
|
||||
}
|
||||
})
|
||||
.collect();
|
||||
Ok(Json(entries))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue