Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Gann committed Dec 5, 2023
1 parent 2d9af1f commit 149decf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sdk/src/endpoints/AttributesEndpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ export class AttributesEndpoint extends Endpoint {
}

public async succeedIdentityAttribute(request: SucceedIdentityAttributeRequest): Promise<ConnectorResponse<ConnectorAttribute>> {
return await this.post("/api/v2/Attributes//succeedIdentityAttribute/:id", request);
return await this.post(`/api/v2/Attributes/succeedIdentityAttribute/${request.predecessorId}`, request.successorContent);
}

public async succeedRelationshipAttribute(request: SucceedRelationshipAttributeRequest): Promise<ConnectorResponse<ConnectorAttribute>> {
return await this.post("/api/v2/Attributes//succeedRelationshipAttribute/:id", request);
return await this.post(`/api/v2/Attributes/succeedRelationshipAttribute/${request.predecessorId}`, request.successorContent);
}

public async notifyPeerAboutIdentityAttributeSuccession(request: NotifyPeerAboutIdentityAttributeSuccessionRequest): Promise<ConnectorResponse<ConnectorAttribute>> {
return await this.post("/api/v2/Attributes//notifyPeerAboutIdentityAttributeSuccession", request);
return await this.post("/api/v2/Attributes/notifyPeerAboutIdentityAttributeSuccession", request);
}

public async getAttributes(request: GetAttributesRequest): Promise<ConnectorResponse<ConnectorAttributes>> {
Expand Down

0 comments on commit 149decf

Please sign in to comment.