Browse Source

Hotfix: notification for received transfer has wrong id

pull/8/head
Kenneth Bruen 3 years ago
parent
commit
28ac7a970e
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  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