fix(dashboard): rustfmt api_operator_inbox match expression

The operator-inbox handler landed with an unformatted long match line
(`match state.coord.broker.unread_for_recipient(...)`) that rustfmt
wants wrapped. It was force-merged during the CI outage so the formatting
gate didn't catch it, and now the treefmt check fails for every PR based
on current main. Pure formatting, no logic change.
This commit is contained in:
atlas 2026-06-06 13:49:53 +02:00
commit 30be7cd632

View file

@ -1746,7 +1746,11 @@ async fn api_reminders(State(state): State<AppState>) -> Response {
/// in_reply_to, file_refs }] }`.
async fn api_operator_inbox(State(state): State<AppState>) -> Response {
const INBOX_LIMIT: u64 = 100;
match state.coord.broker.unread_for_recipient("operator", INBOX_LIMIT) {
match state
.coord
.broker
.unread_for_recipient("operator", INBOX_LIMIT)
{
Ok(messages) => {
let items: Vec<serde_json::Value> = messages
.into_iter()