Teams: async-store refactoring

This commit is contained in:
yflory
2019-09-06 15:45:56 +02:00
parent 2b57d82e8a
commit 834e12fcba
8 changed files with 171 additions and 110 deletions

View File

@@ -157,8 +157,9 @@ define([
timeout: 5 * 60 * 1000
});
};
common.addSharedFolder = function (secret, cb) {
common.addSharedFolder = function (teamId, secret, cb) {
postMessage("ADD_SHARED_FOLDER", {
teamId: teamId,
path: ['root'],
folderData: {
href: '/drive/#' + Hash.getEditHashFromKeys(secret),