Use internal repository when updating kql-telemetry
counts (#93417)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
f4caf8727d
commit
6f66ab7ee8
|
@ -25,7 +25,7 @@ export function registerKqlTelemetryRoute(
|
|||
},
|
||||
async (context, request, response) => {
|
||||
const [{ savedObjects }] = await getStartServices();
|
||||
const internalRepository = savedObjects.createScopedRepository(request);
|
||||
const internalRepository = savedObjects.createInternalRepository();
|
||||
|
||||
const {
|
||||
body: { opt_in: optIn },
|
||||
|
|
Loading…
Reference in a new issue