Update for Babel 6 changes
This commit is contained in:
parent
fe6e704c74
commit
0be6450250
4 changed files with 62 additions and 1046 deletions
|
@ -5,7 +5,7 @@ const debug = debuglog('match.audio');
|
|||
|
||||
const uristring = process.env.MONGOLAB_URI || process.env.MONGOHQ_URL || 'mongodb://localhost:27017/match-audio';
|
||||
|
||||
export default function*() {
|
||||
export default function* () {
|
||||
const client = yield MongoClient.connect(uristring);
|
||||
debug('Successfully connected to Mongodb');
|
||||
client.matches = client.collection('matches');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue