Skip to content

Commit

Permalink
Add back missing Amount in tables.
Browse files Browse the repository at this point in the history
  • Loading branch information
pippijn committed Sep 18, 2024
1 parent eccc912 commit 44ae213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/kubes/nocodb/today.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

def process_nutrients(rdi, ingredient_amount, ingredient):
"""Compute all nutrients for an ingredient based on the amount."""
nutrients = {}
nutrients = {"Amount (g)": ingredient_amount}
for k, v in ingredient.items():
if v is None or k == "Name":
nutrients[k] = v
Expand Down

0 comments on commit 44ae213

Please sign in to comment.