Skip to content

Commit

Permalink
Merge pull request #1110 from xzzy/master2
Browse files Browse the repository at this point in the history
Fix for report internal server error
  • Loading branch information
xzzy authored Jan 3, 2025
2 parents 9e0765f + 5530f23 commit 628133a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ledger/payments/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,7 @@ def get(self,request,format=None):
http_status = status.HTTP_200_OK
#parse and validate data
system = request.GET.get('system')
system = system.replace("S","0")

ois = payment_models.OracleInterfaceSystem.objects.filter(system_id=system)
if ois.count() > 0:
Expand Down

0 comments on commit 628133a

Please sign in to comment.