More work with subscriptions
This commit is contained in:
parent
316e14f0ea
commit
918103a17b
12 changed files with 29 additions and 14 deletions
|
|
@ -39,12 +39,12 @@ Subscriptions.deny({
|
|||
|
||||
Subscriptions.schema = new SimpleSchema({
|
||||
location: Object,
|
||||
'location.lat': SimpleSchema.Integer,
|
||||
'location.lon': SimpleSchema.Integer,
|
||||
'location.lat': Number,
|
||||
'location.lon': Number,
|
||||
distance: Number,
|
||||
owner: String
|
||||
});
|
||||
|
||||
// Subscriptions.attachSchema(Subscriptions.schema);
|
||||
Subscriptions.attachSchema(Subscriptions.schema);
|
||||
|
||||
export default Subscriptions;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue