Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Mar 17, 2020
1 parent a836b81 commit c1e6e3e
Show file tree
Hide file tree
Showing 4 changed files with 611 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,10 @@ export function getDocumentPayloadFactory(
const exportType = exportTypesRegistry.get((item: ExportTypeType) => item.jobType === jobType);
const filename = getTitle(exportType, title);
const headers = getReportingHeaders(output, exportType);
const content = encodeContent(output.content, exportType);

return {
statusCode: 200,
content,
content: encodeContent(output.content, exportType),
contentType: output.content_type,
headers: {
...headers,
Expand Down
Loading

0 comments on commit c1e6e3e

Please sign in to comment.