Skip to content

Commit

Permalink
iam:fix account name
Browse files Browse the repository at this point in the history
  • Loading branch information
ljl committed Jul 26, 2024
1 parent 52942f1 commit 8000625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/supports/iam/src/basic/serv/iam_account_serv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ impl IamAccountServ {
ctx,
)
.await
.map(|r| r.into_iter().map(|r| format!("{},{},{}", r.id, r.name, r.icon)).collect())
.map(|r| r.into_iter().map(|r| format!("{},{},{}", r.id, if r.disabled { format!("{}(已注销)", r.name) } else { r.name }, r.icon)).collect())
}

pub async fn find_account_online_by_ids(ids: Vec<String>, funs: &TardisFunsInst, _ctx: &TardisContext) -> TardisResult<Vec<String>> {
Expand Down

0 comments on commit 8000625

Please sign in to comment.