Skip to content

Commit

Permalink
3.18: fix pattern match
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesaimonetti committed Mar 6, 2015
1 parent 059feee commit 8b6fe3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/whistle_services-1.0.0/src/wh_services.erl
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ commit_transactions(#wh_services{billing_id=BillingId}, Activations) ->
-spec select_bookkeeper(ne_binary()) -> bookkeeper().
select_bookkeeper(BillingId) ->
ResellerId = get_reseller_id(BillingId),
MasterAccountId = whapps_util:get_master_account_id(),
{'ok', MasterAccountId} = whapps_util:get_master_account_id(),
case ResellerId =:= MasterAccountId of
'true' -> 'wh_bookkeeper_local';
'false' ->
Expand Down

0 comments on commit 8b6fe3f

Please sign in to comment.