From fbb8c7b654a05bc2983a476df9a5b9c376096f41 Mon Sep 17 00:00:00 2001 From: Azul Date: Sun, 6 Jan 2013 18:21:38 +0100 Subject: views only emit 1 as value now, doc can be included --- users/app/designs/user/by_email_alias.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/app/designs/user/by_email_alias.js') diff --git a/users/app/designs/user/by_email_alias.js b/users/app/designs/user/by_email_alias.js index 51eb976..508a002 100644 --- a/users/app/designs/user/by_email_alias.js +++ b/users/app/designs/user/by_email_alias.js @@ -3,6 +3,6 @@ function(doc) { return; } doc.email_aliases.forEach(function(alias){ - emit(alias.email, doc); + emit(alias.email, 1); }); } -- cgit v1.2.3