Fix owned upload files as a team

pull/1/head
yflory 5 years ago
parent 482460e286
commit 0276858645

@ -112,8 +112,7 @@ define([
};
common.getEdPublic = function (teamId, cb) {
postMessage("GET", {
teamId: teamId,
key: ['edPublic']
key: teamId ? ['teams', teamId, 'keys', 'drive', 'edPublic'] : ['edPublic']
}, function (obj) {
cb(obj);
});

@ -4365,6 +4365,7 @@ define([
}
var fmConfig = {
teamId: APP.team,
noHandlers: true,
onUploaded: function () {
refresh();

@ -34,7 +34,7 @@ define([
var origin = common.getMetadataMgr().getPrivateData().origin;
var response = Util.response();
var teamId = config.teamId; // XXX Teams file upload as a team
var teamId = config.teamId;
var queue = File.queue = {
queue: [],

Loading…
Cancel
Save