Skip to content

Commit 21f533f

Browse files
committed
refactor: [torrust#445] fix formatting warning
1 parent 61388de commit 21f533f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/web/api/server/v1/contexts/settings/handlers.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ use crate::web::api::server::v1::responses;
1616
/// This function will return an error if the user does not have permission to
1717
/// view all the settings.
1818
#[allow(clippy::unused_async)]
19-
pub async fn get_all_handler(State(app_data): State<Arc<AppData>>, ExtractLoggedInUser(user_id): ExtractLoggedInUser,) -> Response {
19+
pub async fn get_all_handler(
20+
State(app_data): State<Arc<AppData>>,
21+
ExtractLoggedInUser(user_id): ExtractLoggedInUser,
22+
) -> Response {
2023
let all_settings = match app_data.settings_service.get_all_masking_secrets(&user_id).await {
2124
Ok(all_settings) => all_settings,
2225
Err(error) => return error.into_response(),

0 commit comments

Comments
 (0)