Skip to content

Commit

Permalink
Step 6.5: Create Observable collection from Meteor.users
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Nov 28, 2016
1 parent d6027d2 commit a2f6de8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/collections/whatsapp-collections.ts
@@ -1,4 +1,7 @@
import { MongoObservable } from "meteor-rxjs";

let Meteor = Package["meteor"].Meteor;

export const Chats = new MongoObservable.Collection("chats");
export const Messages = new MongoObservable.Collection("messages");
export const Users = MongoObservable.fromExisting(Meteor.users);

0 comments on commit a2f6de8

Please sign in to comment.