From e04bbfb7ae164788161a9185275d3fb45f9dec1f Mon Sep 17 00:00:00 2001 From: Matt Fellows <53900+mefellows@users.noreply.github.com> Date: Fri, 13 Sep 2024 18:14:27 +1000 Subject: [PATCH] chore: updates to product object --- products.yml | 2 -- src/product.js | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/products.yml b/products.yml index 67c1afa90..65e6a4373 100644 --- a/products.yml +++ b/products.yml @@ -87,5 +87,3 @@ components: type: string price: type: number - foobar: - type: boolean diff --git a/src/product.js b/src/product.js index 12e3d9846..f751edf27 100644 --- a/src/product.js +++ b/src/product.js @@ -1,8 +1,7 @@ export class Product { - constructor({id, name, type, foobar}) { + constructor({id, name, type}) { this.id = id this.name = name this.type = type - this.foobar = foobar } } \ No newline at end of file