aboutsummaryrefslogtreecommitdiff
path: root/lib/documents.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-07-03 19:43:00 +0100
committerMichael Williamson <mike@zwobble.org>2016-07-03 19:43:00 +0100
commitba731d3c8a9408b9d33deb63e0492b54298169c5 (patch)
treeaa7ab6403bdfd8d923c6b9e86eeccf006dcb09ca /lib/documents.js
parentd98f3862193c6bb9b88735c131531ac6b1f7b5c0 (diff)
Read author name and initials for each comment
Diffstat (limited to 'lib/documents.js')
-rw-r--r--lib/documents.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/documents.js b/lib/documents.js
index a8312e9..1869dab 100644
--- a/lib/documents.js
+++ b/lib/documents.js
@@ -117,7 +117,9 @@ function comment(options) {
return {
type: types.comment,
commentId: options.commentId,
- body: options.body
+ body: options.body,
+ authorName: options.authorName,
+ authorInitials: options.authorInitials
};
}