From 10e1f5849fb7f64dd188f08b5e5f682d0b162777 Mon Sep 17 00:00:00 2001 From: schencej Date: Tue, 10 Dec 2019 22:24:09 -0500 Subject: fixed recipe pass service --- recipeBuddy/src/app/DataModels/step.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 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 { -- cgit v1.1