summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels/ingredient.ts
diff options
context:
space:
mode:
Diffstat (limited to 'recipeBuddy/src/app/DataModels/ingredient.ts')
-rw-r--r--recipeBuddy/src/app/DataModels/ingredient.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipeBuddy/src/app/DataModels/ingredient.ts b/recipeBuddy/src/app/DataModels/ingredient.ts
index 0ede1d1..c79b475 100644
--- a/recipeBuddy/src/app/DataModels/ingredient.ts
+++ b/recipeBuddy/src/app/DataModels/ingredient.ts
@@ -5,7 +5,7 @@ export class Ingredient {
private type_: string;
public constructor(name: string, amount: number, unit: string, type_: string) {
- this.name = names;
+ this.name = name;
this.amount = amount;
this.unit = unit;
this.type_ = type_;