Skip to content

Commit

Permalink
[ML] Adding authorization header to DFA job update request (#75899)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic authored Aug 26, 2020
1 parent 5447565 commit 61550b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/plugins/ml/server/routes/data_frame_analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ export function dataFrameAnalyticsRoutes({ router, mlLicense }: RouteInitializat
const results = await legacyClient.callAsInternalUser('ml.updateDataFrameAnalytics', {
body: request.body,
analyticsId,
...getAuthorizationHeader(request),
});
return response.ok({
body: results,
Expand Down

0 comments on commit 61550b7

Please sign in to comment.