Skip to content

Commit

Permalink
biller str
Browse files Browse the repository at this point in the history
  • Loading branch information
felipao-mx committed Jul 16, 2019
1 parent 3a322a3 commit 2665c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arcusd/data_access/providers_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_biller_id(service_provider_code: str) -> int:
def get_service_provider_code(biller_id: int) -> str:
mapping = db.providers_mapping.find_one(dict(biller_id=biller_id))
if not mapping:
raise UnknownServiceProvider('unknown')
raise UnknownServiceProvider(str(biller_id))
return mapping['service_provider_code']


Expand Down

0 comments on commit 2665c88

Please sign in to comment.