summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels
diff options
context:
space:
mode:
authorschencej <schencej@clarkson.edu>2019-12-10 22:24:09 -0500
committerschencej <schencej@clarkson.edu>2019-12-10 22:24:09 -0500
commit10e1f5849fb7f64dd188f08b5e5f682d0b162777 (patch)
tree766408c73e6e8b95a15ce85ee10a9506ff899d99 /recipeBuddy/src/app/DataModels
parent2ce49662e65fa0a3bdd2a2681d02586c30c4f431 (diff)
fixed recipe pass service
Diffstat (limited to 'recipeBuddy/src/app/DataModels')
-rw-r--r--recipeBuddy/src/app/DataModels/step.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/recipeBuddy/src/app/DataModels/step.ts b/recipeBuddy/src/app/DataModels/step.ts
index 06c15c9..ef07596 100644
--- a/recipeBuddy/src/app/DataModels/step.ts
+++ b/recipeBuddy/src/app/DataModels/step.ts
@@ -1,14 +1,14 @@
export class Step {
- public instruction: string;
+ public instructions: string;
public timer: number;
- public constructor(instruction: string, timer: number) {
- this.instruction = instruction;
+ public constructor(instructions: string, timer: number) {
+ this.instructions = instructions;
this.timer = timer;
}
- public getInstruction(): string {
- return this.instruction;
+ public getInstructions(): string {
+ return this.instructions;
}
public getTimer(): number {