Format the code

This commit is contained in:
Mubelotix
2025-06-19 15:55:12 +02:00
parent ab768f379f
commit 2d6dc83940
3 changed files with 5 additions and 4 deletions

View File

@ -91,8 +91,10 @@ impl HeedAuthStore {
Action::All => {
actions.extend(enum_iterator::all::<Action>());
actions.remove(&Action::AllGet);
},
Action::AllGet => actions.extend(enum_iterator::all::<Action>().filter(|a| a.is_read())),
}
Action::AllGet => {
actions.extend(enum_iterator::all::<Action>().filter(|a| a.is_read()))
}
Action::DocumentsAll => {
actions.extend(
[Action::DocumentsGet, Action::DocumentsDelete, Action::DocumentsAdd]

View File

@ -1,5 +1,4 @@
use crate::common::{shared_does_not_exists_index, Server};
use crate::json;
#[actix_rt::test]