mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[bug] Change error message; for bug 62643
This commit is contained in:
@ -3686,9 +3686,9 @@ exports.install = function(server, callbackFunction) {
|
||||
for (i = 0; i < participants.length; ++i) {
|
||||
participant = participants[i];
|
||||
if (data.needUrlKey) {
|
||||
if (0 == data.needUrlMethod) {
|
||||
if (0 === data.needUrlMethod) {
|
||||
outputData.setData(yield storage.getSignedUrls(ctx, participant.baseUrl, data.needUrlKey, data.needUrlType, data.creationDate));
|
||||
} else if (1 == data.needUrlMethod) {
|
||||
} else if (1 === data.needUrlMethod) {
|
||||
outputData.setData(yield storage.getSignedUrl(ctx, participant.baseUrl, data.needUrlKey, data.needUrlType, undefined, data.creationDate));
|
||||
} else {
|
||||
let url;
|
||||
|
||||
@ -1856,7 +1856,8 @@ exports.receiveTask = function(data, ack) {
|
||||
let saveAsRes = yield processWopiSaveAs(ctx, cmd);
|
||||
if (!saveAsRes.res && saveAsRes.wopiParams) {
|
||||
outputData.setStatus('err');
|
||||
outputData.setData(constants.UNKNOWN);
|
||||
outputData.setData(constants.CONVERT);
|
||||
additionalOutput.needUrlKey = null;
|
||||
}
|
||||
}
|
||||
} else if ('sfcm' === command) {
|
||||
|
||||
Reference in New Issue
Block a user