Skip to content

Commit

Permalink
Revert "fix(viewer): hash all parameters before sending get showimage…
Browse files Browse the repository at this point in the history
… request"
  • Loading branch information
carla-at-wiris committed Jan 24, 2024
1 parent 05d01b7 commit dde0ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/viewer/src/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export async function showImage(mml: string, lang: string, url: string, extensio
}

// Try to obtain the image via GET
const getParams = Parser.createShowImageSrcData(params);
const getParams = Parser.createShowImageSrcData({ mml }, lang);
const getResponse = callService(getParams, 'showimage', MethodType.Get, url, extension);
try {
return await processJsonResponse(getResponse);
Expand Down

0 comments on commit dde0ad2

Please sign in to comment.