Skip to content

Commit

Permalink
refactor(plugins/rtf-to-html): remove redundant await (#1294)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Mar 2, 2023
1 parent d089f68 commit 7582b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/rtf-to-html/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async function plugin(server, options) {
* Windows-1252 to UTF-8 results with HTML equivalents.
* Refer to https://i18nqa.com/debug/utf8-debug.html for more info
*/
req.conversionResults.body = await fixUtf8(dom.serialize());
req.conversionResults.body = fixUtf8(dom.serialize());
} catch (err) {
/**
* UnRTF will throw if the .rtf file provided
Expand Down

0 comments on commit 7582b22

Please sign in to comment.