Update services.dart

This commit is contained in:
Tobe O 2016-12-21 16:44:55 -05:00 committed by GitHub
parent b7828e1d9f
commit 7d4d77f993

View file

@ -7,7 +7,7 @@ import 'package:mongo_dart/mongo_dart.dart';
import 'user.dart' as User; import 'user.dart' as User;
configureServer(Angel app) async { configureServer(Angel app) async {
Db db = new Db(app.properties['mongo_db']); Db db = new Db(app.mongo_db);
await db.open(); await db.open();
await app.configure(User.configureServer(db)); await app.configure(User.configureServer(db));