Skip to content

Commit

Permalink
iam:fix .
Browse files Browse the repository at this point in the history
  • Loading branch information
ljl committed Jan 20, 2024
1 parent cee85aa commit 96fd219
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion support/iam/src/console_passport/api/iam_cp_account_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl IamCpAccountApi {
)
.await?
.into_iter()
.map(|resp| resp.rel_rbum_set_cate_sys_code)
.map(|resp| resp.rel_rbum_set_cate_sys_code.unwrap_or("".to_string()))
.collect::<Vec<String>>();
if cate_codes.is_empty() {
return TardisResp::ok(vec![]);
Expand Down
2 changes: 1 addition & 1 deletion support/iam/src/console_passport/api/iam_cp_app_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl IamCpAppApi {
)
.await?
.into_iter()
.map(|resp| resp.rel_rbum_set_cate_sys_code)
.map(|resp| resp.rel_rbum_set_cate_sys_code.unwrap_or("".to_string()))
.collect::<Vec<String>>();
if cate_codes.is_empty() {
return TardisResp::ok(vec![]);
Expand Down

0 comments on commit 96fd219

Please sign in to comment.