mirror of
https://github.com/Michatec/MiniFaceBook.git
synced 2026-03-31 23:46:30 +02:00
Notifications Widget Added
This commit is contained in:
@@ -44,7 +44,7 @@ def notifications_api():
|
||||
{
|
||||
'name': User.query.get(n.user_id).username,
|
||||
'data': n.message,
|
||||
'timestamp': n.created_at
|
||||
'created_at': n.created_at
|
||||
} for n in notifications
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user