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:
parent
812a072e1c
commit
30be7cd632
1 changed files with 5 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue