From 30082843a215ce35cc3354ee6a17af4c9bd1b737 Mon Sep 17 00:00:00 2001 From: Nox Date: Wed, 6 Dec 2023 00:01:21 -0300 Subject: [PATCH] Fix formatting in is_followed_back assignment --- identity_socializer/web/api/utils.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/identity_socializer/web/api/utils.py b/identity_socializer/web/api/utils.py index e1f798f..7d7ad5c 100644 --- a/identity_socializer/web/api/utils.py +++ b/identity_socializer/web/api/utils.py @@ -27,7 +27,10 @@ async def complete_user( ) -> AppUserModel: """Returns a user with additional information.""" is_followed = await relationship_dao.is_followed_by_user(current_user_id, user.id) - is_followed_back = await relationship_dao.is_followed_by_user(user.id, current_user_id) + is_followed_back = await relationship_dao.is_followed_by_user( + user.id, + current_user_id, + ) return AppUserModel( id=user.id, @@ -42,4 +45,5 @@ async def complete_user( is_followed=is_followed, is_followed_back=is_followed_back, blocked=user.blocked, + certified=user.certified, )