mirror of https://gitee.com/bigwinds/arangodb
fixed wrong app id
This commit is contained in:
parent
5820afd507
commit
d4ae3d280a
|
@ -160,7 +160,7 @@ actions.defineHttp({
|
|||
callback: function (body) {
|
||||
var mount = body.mount;
|
||||
|
||||
return foxxManager.teardown(mount);
|
||||
return foxxManager.setup(mount);
|
||||
}
|
||||
})
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue