Nikhil0987 commited on
Commit
96ff007
·
verified ·
1 Parent(s): 1a5755d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def add_to_json(goal): # Renamed 'new_goal' to 'goal' for clarity
8
  data = json.load(file)
9
 
10
  new_item = {
11
- "goal": goal,
12
  # "reminder": new_reminder # Remove if not used
13
  }
14
  data["goal"].append(new_item)
 
8
  data = json.load(file)
9
 
10
  new_item = {
11
+ "Goal": goal,
12
  # "reminder": new_reminder # Remove if not used
13
  }
14
  data["goal"].append(new_item)