Browse Source

Merge pull request #8 from dancojocaru2000/Backend

Hotfix: notification for received transfer has wrong id
pull/12/head
Kenneth Bruen 3 years ago committed by GitHub
parent
commit
1250b12049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      server/foxbank_server/apis/transactions.py

2
server/foxbank_server/apis/transactions.py

@ -100,7 +100,7 @@ class TransactionsList(MethodView):
date_time=date, date_time=date,
read=False, read=False,
) )
insert_notification(acc.id, notification) insert_notification(whose_account(acc.id), notification)
break break
else: else:
return returns.abort(returns.NOT_FOUND) return returns.abort(returns.NOT_FOUND)

Loading…
Cancel
Save