feat: add api of body record 8
continuous-integration/drone/push Build is passing Details

This commit is contained in:
BryantHe 2023-08-12 20:41:50 +08:00
parent ad2555c82f
commit 01689bc745
1 changed files with 1 additions and 1 deletions

View File

@ -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'])