From 5090e3f6c948ba3985db9ce06798f9477e7a13c9 Mon Sep 17 00:00:00 2001
From: rr- <rr-@sakuya.pl>
Date: Sat, 11 Jun 2016 09:29:23 +0200
Subject: [PATCH] server/comments: fix missing score field

---
 server/szurubooru/func/comments.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/szurubooru/func/comments.py b/server/szurubooru/func/comments.py
index 88d65d6..38a0926 100644
--- a/server/szurubooru/func/comments.py
+++ b/server/szurubooru/func/comments.py
@@ -15,6 +15,7 @@ def serialize_comment(comment, authenticated_user, options=None):
             'text': lambda: comment.text,
             'creationTime': lambda: comment.creation_time,
             'lastEditTime': lambda: comment.last_edit_time,
+            'score': lambda: comment.score,
             'ownScore': lambda: scores.get_score(comment, authenticated_user),
         },
         options)