Skip to content

Commit

Permalink
was accidentally on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
WorkingRobot committed Jan 24, 2025
1 parent ef00d96 commit 0041ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/discord/commands/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub async fn stats(ctx: Context<'_>) -> Result<(), Error> {
let mut guilds: FuturesUnordered<_> = cache
.guilds()
.into_iter()
.map(async |g| {
.map(|g| async move {
cache
.guild(g)
.map(|c| Ok(c.approximate_member_count.unwrap_or(c.member_count)))
Expand Down

0 comments on commit 0041ff1

Please sign in to comment.