feat: add api of body record 8
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ad2555c82f
commit
01689bc745
|
@ -15,7 +15,7 @@ record = APIBlueprint('record', __name__)
|
|||
@login_required
|
||||
def add_record(json_data):
|
||||
try:
|
||||
rpc.body_record.add(user_obj_id=session['user_id'],
|
||||
rpc.body_record.add(user_id=session['user_id'],
|
||||
height=json_data['height'],
|
||||
weight=json_data['weight'],
|
||||
bmi=json_data['bmi'])
|
||||
|
|
Loading…
Reference in New Issue