summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-12-10 19:34:30 -0500
committerTucker Evans <tuckerevans24@gmail.com>2019-12-10 19:34:30 -0500
commit34ceddd42d6e44f57f4697a254533872c53f4844 (patch)
treed9e88018342ff635c7a4d999227f83d71dd0502f /recipeBuddy/src/app/DataModels
parent10e1f5849fb7f64dd188f08b5e5f682d0b162777 (diff)
Revert steps.instructions -> step.instruction
For compatibility with backend JSON.
Diffstat (limited to 'recipeBuddy/src/app/DataModels')
-rw-r--r--recipeBuddy/src/app/DataModels/step.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipeBuddy/src/app/DataModels/step.ts b/recipeBuddy/src/app/DataModels/step.ts
index ef07596..ec33e15 100644
--- a/recipeBuddy/src/app/DataModels/step.ts
+++ b/recipeBuddy/src/app/DataModels/step.ts
@@ -1,14 +1,14 @@
export class Step {
- public instructions: string;
+ public instruction: string;
public timer: number;
- public constructor(instructions: string, timer: number) {
- this.instructions = instructions;
+ public constructor(instruction: string, timer: number) {
+ this.instruction = instruction;
this.timer = timer;
}
public getInstructions(): string {
- return this.instructions;
+ return this.instruction;
}
public getTimer(): number {