summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels/ingredient.ts
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-12-07 14:27:26 -0500
committerGitHub <noreply@github.com>2019-12-07 14:27:26 -0500
commit5cf3689290666f70cd631d7b3d40a2ed245a3fce (patch)
treee6f2938377890774ff3e80fae8f77797917a46e5 /recipeBuddy/src/app/DataModels/ingredient.ts
parentcafe1b4fd3cc02554f44ffbaa8467d867a6838cb (diff)
parent658dea27e47e3aab24598a74ee9940f82bea2368 (diff)
Merge pull request #12 from tuckerevans/REST-service
Backend REST Service implementation
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_;