aboutsummaryrefslogtreecommitdiff
path: root/api/social/request_list.py
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-11 18:03:11 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-11 18:03:11 +0200
commitdeb09e5c749e3353c927d7fe94bbd35f25ff85ee (patch)
tree702ba982530aa98a96ddece365a32be842dae3c2 /api/social/request_list.py
parent28f104de9ae9abe4b42abafbf3865ede5687996c (diff)
dprint yapf continuation align style edit
Diffstat (limited to 'api/social/request_list.py')
-rw-r--r--api/social/request_list.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/social/request_list.py b/api/social/request_list.py
index 8d1acd6..9b79203 100644
--- a/api/social/request_list.py
+++ b/api/social/request_list.py
@@ -12,8 +12,8 @@ requests = Blueprint('requests', __name__)
def route(user_2_id):
# get a list of friend requests
request_list = cursor.execute(
- "select user_1_id from social where user_2_id = ? and type = \"outgoing\"",
- [user_2_id]
+ "select user_1_id from social where user_2_id = ? and type = \"outgoing\"",
+ [user_2_id]
).fetchall()
# get user_id for each result to prevent repeat user/info requests