Skip to content

Commit

Permalink
[Reporting][Revert] Deprecate v1 report types (#109058)
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens authored Aug 18, 2021
1 parent 74b2a3c commit 8f7e10a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ export const createJobFnFactory: CreateJobFnFactory<
validateUrls([jobParams.relativeUrl]);

return {
isDeprecated: true,
...jobParams,
headers: serializedEncryptedHeaders,
spaceId: reporting.getSpaceId(req, logger),
forceNow: new Date().toISOString(),
...jobParams,
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export const createJobFnFactory: CreateJobFnFactory<
// return the payload
return {
...jobParams,
isDeprecated: true,
headers: serializedEncryptedHeaders,
spaceId: reporting.getSpaceId(req, logger),
forceNow: new Date().toISOString(),
Expand Down

0 comments on commit 8f7e10a

Please sign in to comment.