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

Fix createDocument

parent 7ff73d54
No related branches found
No related tags found
1 merge request!48269 implement workflow for signing already uploaded document dev
......@@ -44,7 +44,9 @@ WopiAPI.prototype.createDocument = async (passportUUID, path, contentType, title
config);
const resourceID = response.data;
return await this.getPassports(resourceID, contentType);
const passports = await this.getPassports(resourceID, contentType);
console.log(passports);
return passports;
};
WopiAPI.prototype.putDocument = function (resourceID, accessToken, file) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment