diff --git a/src/endpoints/custom-relationships.js b/src/endpoints/custom-relationships.js index 44f0907..6d9d253 100644 --- a/src/endpoints/custom-relationships.js +++ b/src/endpoints/custom-relationships.js @@ -6,7 +6,7 @@ class CustomRelationshipsEndpoint { const config = { ...endpoint } config.version = 'pcm' this.request = new RequestFactory(config) - this.endpoint = 'custom_relationships' + this.endpoint = 'custom-relationships' } All() { diff --git a/src/types/custom-relationships.d.ts b/src/types/custom-relationships.d.ts index c0c981e..a3d958c 100644 --- a/src/types/custom-relationships.d.ts +++ b/src/types/custom-relationships.d.ts @@ -5,8 +5,6 @@ import { Identifiable, - CrudQueryableResource, - ResourcePage, ResourceList, Resource } from './core' @@ -57,7 +55,7 @@ export interface CustomRelationshipsListResponse } export interface CustomRelationshipsEndpoint { - endpoint: 'custom_relationships' + endpoint: 'custom-relationships' /** * List Custom Relationships */