bugfix
This commit is contained in:
parent
92c152aab9
commit
d21a195acf
@ -27,7 +27,7 @@ class PricingProgram:
|
|||||||
debug(f'psid={psid}')
|
debug(f'psid={psid}')
|
||||||
recs = await self.sor.R('pricing_spec', {'id': psid})
|
recs = await self.sor.R('pricing_spec', {'id': psid})
|
||||||
if len(recs) > 0:
|
if len(recs) > 0:
|
||||||
return recs
|
return recs[0]
|
||||||
return None
|
return None
|
||||||
|
|
||||||
async def get_remote_pricing(sor, charge, data):
|
async def get_remote_pricing(sor, charge, data):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user