Skip to content

Commit

Permalink
fix: fromEnv() make EBAY_DEV_ID optional
Browse files Browse the repository at this point in the history
  • Loading branch information
dantio committed Mar 18, 2022
1 parent 41a8abb commit 9c90bfa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ class eBayApi extends Api {
if (!process.env.EBAY_CERT_ID) {
throw new ApiEnvError('EBAY_CERT_ID');
}
if (!process.env.EBAY_DEV_ID) {
throw new ApiEnvError('EBAY_DEV_ID');
}

return new eBayApi({
appId: process.env.EBAY_APP_ID,
Expand Down

0 comments on commit 9c90bfa

Please sign in to comment.