Skip to content

Commit

Permalink
chore: updates to product object
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Sep 13, 2024
1 parent 755c4a5 commit e04bbfb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions products.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,3 @@ components:
type: string
price:
type: number
foobar:
type: boolean
3 changes: 1 addition & 2 deletions src/product.js
Original file line number Diff line number Diff line change
@@ -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
}
}

0 comments on commit e04bbfb

Please sign in to comment.