Skip to content

Commit

Permalink
🐛 Use internal route
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 authored Aug 24, 2023
1 parent da8d3b2 commit 994f5b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { HttpSetup } from '@kbn/core/public';
import { sendRequest, SendRequestResponse } from '../shared_imports';
import { API_BASE_PATH } from '../../common/constants';
import { INTERNAL_API_BASE_PATH } from '../../common/constants';
import { SerializedEnrichPolicy } from '../../common/types';

export interface PublicApiServiceSetup {
Expand All @@ -33,7 +33,7 @@ export class PublicApiService {
*/
getAllEnrichPolicies() {
return sendRequest(this.http, {
path: `${API_BASE_PATH}/enrich_policies`,
path: `${INTERNAL_API_BASE_PATH}/enrich_policies`,
method: 'get',
});
}
Expand Down

0 comments on commit 994f5b1

Please sign in to comment.