1
0
Fork 0

fixed wrong app id

This commit is contained in:
Frank Celler 2013-07-26 23:10:03 +02:00
parent 5820afd507
commit d4ae3d280a
2 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ actions.defineHttp({
callback: function (body) {
var mount = body.mount;
return foxxManager.teardown(mount);
return foxxManager.setup(mount);
}
})
});

View File

@ -712,7 +712,7 @@ exports.setup = function (mount) {
[ mount ] );
var doc = mountFromId(mount);
var app = appFromAppId(doc.id);
var app = appFromAppId(doc.app);
setupApp(app, mount, doc.collectionPrefix);
};