From fd07e659e5684bb9a80fa27f11beb6fae9a57c0d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 31 Aug 2021 19:21:11 +0200 Subject: [PATCH] fddf --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index a484c3948..d96c782ad 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -196,7 +196,7 @@ def messagereply(v): g.db.flush() new_aux = CommentAux(id=new_comment.id, body=message, body_html=text_html) g.db.add(new_aux) - notif = Notification(comment_id=new_comment.id, user_id=user) + notif = Notification(comment_id=new_comment.id, user_id=user.id) g.db.add(notif) g.db.commit() cache.delete_memoized(User.notification_messages, user)