From e0d5eb5e25338ae8535ec5ff5b15e6911522a543 Mon Sep 17 00:00:00 2001 From: Zimovchik Date: Thu, 11 Jul 2024 10:44:30 +0300 Subject: [PATCH] lint --- services_backend/routes/button.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services_backend/routes/button.py b/services_backend/routes/button.py index 7c01331..bdc7838 100644 --- a/services_backend/routes/button.py +++ b/services_backend/routes/button.py @@ -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: