Merge branch 'main' of gitea.hottis.de:moerp/Elo-rezept-rechner
This commit is contained in:
commit
1fc9dd70df
@ -105,7 +105,7 @@ def convert_decimal(value):
|
|||||||
|
|
||||||
|
|
||||||
@app.route('/add_nutrition', methods=['POST'])
|
@app.route('/add_nutrition', methods=['POST'])
|
||||||
@oidc.require_login
|
@oidc.accept_token(True)
|
||||||
def add_nutrition():
|
def add_nutrition():
|
||||||
food = request.form.get('food')
|
food = request.form.get('food')
|
||||||
kcal = convert_decimal(request.form.get('kcal'))
|
kcal = convert_decimal(request.form.get('kcal'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user