Skip to content
Permalink
Browse files

Step 15.9: Show private parties to the invited and owners only

  • Loading branch information
dotansimha authored and DAB0mB committed Sep 27, 2016
1 parent b6eb92d commit c3d46e36411315859e90efa9c8e2a69fbbe5dfe3
Showing with 6 additions and 0 deletions.
  1. +6 −0 server/imports/publications/parties.ts
@@ -36,6 +36,12 @@ function buildQuery(partyId?: string, location?: string): Object {
$exists: true
}
}]
},
{
$and: [
{ invited: this.userId },
{ invited: { $exists: true } }
]
}]
};

0 comments on commit c3d46e3

Please sign in to comment.
You can’t perform that action at this time.