Skip to content

Commit

Permalink
Merge pull request #67 from jaymorrow/optional-constructor-props
Browse files Browse the repository at this point in the history
fix: using all passed options
  • Loading branch information
louisgv committed Jun 21, 2023
2 parents e504cd1 + 2389254 commit b2deb2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ export class ChromeWebstoreAPI {
if (!options[field]) {
throw new Error(errorMap[field])
}

this.options[field] = options[field]
}

this.options = { ...options }
}

get uploadEndpoint() {
Expand Down

0 comments on commit b2deb2f

Please sign in to comment.