We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61388de commit 21f533fCopy full SHA for 21f533f
src/web/api/server/v1/contexts/settings/handlers.rs
@@ -16,7 +16,10 @@ use crate::web::api::server::v1::responses;
16
/// This function will return an error if the user does not have permission to
17
/// view all the settings.
18
#[allow(clippy::unused_async)]
19
-pub async fn get_all_handler(State(app_data): State<Arc<AppData>>, ExtractLoggedInUser(user_id): ExtractLoggedInUser,) -> Response {
+pub async fn get_all_handler(
20
+ State(app_data): State<Arc<AppData>>,
21
+ ExtractLoggedInUser(user_id): ExtractLoggedInUser,
22
+) -> Response {
23
let all_settings = match app_data.settings_service.get_all_masking_secrets(&user_id).await {
24
Ok(all_settings) => all_settings,
25
Err(error) => return error.into_response(),
0 commit comments