renew

FFIB 5 years ago
parent
commit
3819b73966
1 changed files with 2 additions and 2 deletions
  1. 2 2
      api/member_views.py

+ 2 - 2
api/member_views.py

@@ -146,7 +146,7 @@ def good_detail(request):
146 146
         'final_integral': user.final_integral,
147 147
         'shots_num': user.shots_num,
148 148
         'level': user.level,
149
-        'good': good.data,
149
+        'good': good.details,
150 150
     })
151 151
 
152 152
 
@@ -277,7 +277,7 @@ def activity_detail(request):
277 277
         return response(MemberActivityStatusCode.ACTIVITY_NOT_FOUND)
278 278
 
279 279
     return response(200, data={
280
-        'activity': act.data(user_id),
280
+        'activity': act.details(user_id),
281 281
     })
282 282
 
283 283