Skip to content
Browse files

small thing in the messages obtained for the data view

  • Loading branch information...
1 parent 4ff1073 commit 8ffc343014ca98fecf62dfda3ddcbeee3d547a57 @jettro committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 data.js
View
2 data.js
@@ -15,7 +15,7 @@ Data.prototype.index = function(req,res) {
Data.prototype.messages = function(req,res) {
if (!checkAdminUser(req,res)) return;
var messages = [];
- redis.obtainMessages(0,-1,function(replies) {
+ redis.obtainMessages(0,0,function(replies) {
replies.forEach(function (reply, i) {
messages.push(JSON.parse(reply));
});

0 comments on commit 8ffc343

Please sign in to comment.
Something went wrong with that request. Please try again.