1
0
Fork 0
mirror of https://github.com/dancojocaru2000/foxbank.git synced 2025-02-22 23:39:36 +02:00

Merge pull request #8 from dancojocaru2000/Backend

Hotfix: notification for received transfer has wrong id
This commit is contained in:
Kenneth Bruen 2022-01-03 14:25:32 +02:00 committed by GitHub
commit 1250b12049
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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