summaryrefslogtreecommitdiff
path: root/app/designs/identity/disabled.js
blob: 5509575761b1f2aa25ae0a09483ec264768927b1 (plain)
1
2
3
4
5
6
7
8
function(doc) {
  if (doc.type != 'Identity') {
    return;
  }
  if (typeof doc.user_id === "undefined") {
    emit(doc._id, 1);
  }
}