From 34ceddd42d6e44f57f4697a254533872c53f4844 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Tue, 10 Dec 2019 19:34:30 -0500 Subject: Revert steps.instructions -> step.instruction For compatibility with backend JSON. --- recipeBuddy/src/app/DataModels/step.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'recipeBuddy/src/app/DataModels/step.ts') 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 { -- cgit v1.1