Skip to content

Commit

Permalink
Fix missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb committed Feb 1, 2023
1 parent a8ebd72 commit 1bf03fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/cloud/src/services/settings.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
use std::collections::HashMap;

use actix_session::Session;
use actix_web::{delete, get, post, web, HttpRequest, HttpResponse};
use futures::TryStreamExt;
Expand Down Expand Up @@ -123,7 +125,7 @@ async fn get_all_settings(
.get(&host)
.map(|s| (group.id, s.to_owned()))
})
.collect::<HashMap<_, _>>(), // TODO: shouldn't this have the group id, too?
.collect::<HashMap<_, _>>(),
};

Ok(HttpResponse::Ok().json(all_settings))
Expand Down

0 comments on commit 1bf03fe

Please sign in to comment.