Skip to content

Commit

Permalink
fix(FEC-9052): allow player to load from partner 0(#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
amirch1 authored and OrenMe committed May 1, 2019
1 parent 4ea710d commit eca464a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils/setup-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function validateTargetId(targetId: string): void {
* @returns {void}
*/
function validateProviderConfig(providerOptions: ProviderOptionsObject): void {
if (!providerOptions.partnerId) {
if (!providerOptions.partnerId && providerOptions.partnerId !== 0) {
throw new Error(ValidationErrorType.PARTNER_ID_REQUIRED);
}
}
Expand Down

0 comments on commit eca464a

Please sign in to comment.