Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zimovchik committed Aug 12, 2024
1 parent 4c9d634 commit 7292fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userdata_api/utils/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ async def get_users_info(
for info in infos:
if (
info.category.read_scope
and (info.owner_id != user["id"] or not is_single_user)
and info.category.read_scope not in scope_names
and (not is_single_user or info.owner_id != user["id"])
):
continue
if info.param not in param_dict:
Expand Down

0 comments on commit 7292fe3

Please sign in to comment.