From 001722e195c10b18a8a17e47896a1a8ae3c2b08b Mon Sep 17 00:00:00 2001 From: BryantHe Date: Wed, 20 Sep 2023 12:03:00 +0800 Subject: [PATCH] feat: add api of get_interaction_list 2 --- app/api/v1/interaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/v1/interaction.py b/app/api/v1/interaction.py index d6d720a..b2d30ef 100644 --- a/app/api/v1/interaction.py +++ b/app/api/v1/interaction.py @@ -51,4 +51,4 @@ def get_interaction_list(query_data): results = rpc.interaction.get_interaction_list(session['user_id'], category=query_data['category'], current_date=current_date) - return results + return {'interactions': results}