feat: add api of body record 6
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ffa2f328c9
commit
b0400cc617
|
@ -42,7 +42,7 @@ def get_record(record_id):
|
|||
@login_required
|
||||
def get_records():
|
||||
try:
|
||||
result = rpc.body_record.get_all_by_user(session['user_id'])
|
||||
results = rpc.body_record.get_all_by_user(session['user_id'])
|
||||
except Exception as e:
|
||||
raise BodyRecordNotFound()
|
||||
return result
|
||||
return {'records': results}
|
||||
|
|
Loading…
Reference in New Issue