Skip to content

Commit

Permalink
Add documents
Browse files Browse the repository at this point in the history
  • Loading branch information
mcahriman committed Aug 13, 2022
1 parent 8c14d1a commit 855ffd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[] add todo items
2022/08/13
[ ] set up couchdb credentials locally
[ ] add todo items
4 changes: 2 additions & 2 deletions resources/couchdb/views/votesAndChatStats.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function (keys, values, rereduce) {
(function (keys, values, rereduce) {
let sumKarma = function(a,b) {
return a+b.karma;
};
Expand All @@ -21,4 +21,4 @@ function (keys, values, rereduce) {
messageCount: values.reduce(addMessageCount,0),
user: values[0].user
};
}
})

0 comments on commit 855ffd5

Please sign in to comment.