Skip to content

Commit

Permalink
Merge pull request #107 from viditbee/main
Browse files Browse the repository at this point in the history
Bugfix: Exception MESSAGE absent if 'domain' is not provided while cr…
  • Loading branch information
joshsadler authored May 9, 2024
2 parents cb672de + d4861bd commit aea5600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/moov.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export class Moov {
checkString(credentials.accountID).or(Err.MISSING_ACCOUNT_ID);
checkString(credentials.publicKey).or(Err.MISSING_PUBLIC_KEY);
checkString(credentials.secretKey).or(Err.MISSING_SECRET_KEY);
checkUrl(credentials.domain).or(Err.DomainRequired);
checkUrl(credentials.domain).or(Err.MISSING_DOMAIN);

this.credentials = credentials;
this.tokenCache = {};
Expand Down

0 comments on commit aea5600

Please sign in to comment.