Skip to content
Snippets Groups Projects
Commit 949fe654 authored by Sasha Ilieva's avatar Sasha Ilieva
Browse files

Return axios(config)

parent 30534a25
Branches
Tags 1.3 1.3-rc1
1 merge request!48269 implement workflow for signing already uploaded document dev
...@@ -45,8 +45,7 @@ WopiAPI.prototype.createDocument = async (passportUUID, path, contentType, title ...@@ -45,8 +45,7 @@ WopiAPI.prototype.createDocument = async (passportUUID, path, contentType, title
const resourceID = response.data; const resourceID = response.data;
const passports = await this.getPassports(resourceID, contentType); const passports = await this.getPassports(resourceID, contentType);
console.log(passports); return axios(config);
return passports;
}; };
WopiAPI.prototype.putDocument = function (resourceID, accessToken, file) { WopiAPI.prototype.putDocument = function (resourceID, accessToken, file) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment