Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zimovchik committed Jul 11, 2024
1 parent 6e9c0fc commit e0d5eb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services_backend/routes/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ def get_button(
"type": button.type,
"link": button.link if user_scopes.issuperset(button.required_scopes) else None,
"view": view.value,
"required_scopes": button.
required_scopes,
"required_scopes": button.required_scopes,
"optional_scopes": button.optional_scopes,
}
if view == ButtonView.ACTIVE:
Expand Down

0 comments on commit e0d5eb5

Please sign in to comment.