mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Reporting][Revert] Deprecate v1 report types (#109058)
This commit is contained in:
parent
74b2a3c383
commit
8f7e10aaba
2 changed files with 1 additions and 3 deletions
|
@ -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,
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue