Skip to content
Snippets Groups Projects
Commit 12ef49e2 authored by Damyan Mitev's avatar Damyan Mitev :beach:
Browse files

Add contentType param to getPassports

parent 6cd99cf4
Branches
Tags
1 merge request!48269 implement workflow for signing already uploaded document dev
......@@ -1234,7 +1234,7 @@ const connection = Penpal.connectToParent({
},
// WOPI
getPassports: async resourceID => {
getPassports: async (resourceID, contentType) => {
const authenticationPublicKey = localStorage.getItem("authenticatedIdentity");
if (
......@@ -1245,7 +1245,7 @@ const connection = Penpal.connectToParent({
return encodeResponse("400", "", "Identity not authenticated");
}
const response = await wopiAPI.getPassports(resourceID);
const response = await wopiAPI.getPassports(resourceID, contentType);
return response.data;
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment