Improvement in Subs and FireMap Union
This commit is contained in:
parent
497724443f
commit
1742cd4913
19 changed files with 390 additions and 299 deletions
|
|
@ -9,9 +9,10 @@ Meteor.methods({
|
|||
location: Match.ObjectIncluding({ lat: Number, lon: Number }),
|
||||
distance: Number
|
||||
});
|
||||
const type = 'web';
|
||||
|
||||
try {
|
||||
return Subscriptions.insert({ owner: this.userId, ...doc });
|
||||
return Subscriptions.insert({ owner: this.userId, type, ...doc });
|
||||
} catch (exception) {
|
||||
throw new Meteor.Error('500', exception);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue