You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/consumption/src/modules/requests/itemProcessors/readAttribute/ReadAttributeRequestItemProcessor.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -322,14 +322,14 @@ export class ReadAttributeRequestItemProcessor extends GenericRequestItemProcess
Copy file name to clipboardExpand all lines: packages/consumption/src/modules/requests/itemProcessors/shareAttribute/ShareAttributeRequestItemProcessor.ts
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,8 @@ export class ShareAttributeRequestItemProcessor extends GenericRequestItemProces
81
81
);
82
82
}
83
83
84
-
if(requestItem.thirdPartyAddress){
85
-
returnValidationResult.error(ConsumptionCoreErrors.requests.invalidRequestItem("When sharing an OwnIdentityAttribute, no thirdPartyAddress may be specified."));
84
+
if(requestItem.initialAttributePeer){
85
+
returnValidationResult.error(ConsumptionCoreErrors.requests.invalidRequestItem("When sharing an OwnIdentityAttribute, no initialAttributePeer may be specified."));
"When sharing a RelationshipAttribute with another Identity, the address of the peer of the Relationship in which the RelationshipAttribute exists must be specified as thirdPartyAddress."
120
+
"When sharing a RelationshipAttribute with another Identity, the address of the peer of the Relationship in which the RelationshipAttribute exists must be specified as initialAttributePeer."
121
121
)
122
122
);
123
123
}
@@ -141,15 +141,15 @@ export class ShareAttributeRequestItemProcessor extends GenericRequestItemProces
ConsumptionCoreErrors.requests.invalidRequestItem("The RequestItem is invalid, since it must contain a RelationshipAttribute if thirdPartyAddress is defined.")
146
+
ConsumptionCoreErrors.requests.invalidRequestItem("The RequestItem is invalid, since it must contain a RelationshipAttribute if initialAttributePeer is defined.")
ConsumptionCoreErrors.requests.invalidRequestItem("The RequestItem is invalid, since it must contain an IdentityAttribute if thirdPartyAddress is undefined.")
152
+
ConsumptionCoreErrors.requests.invalidRequestItem("The RequestItem is invalid, since it must contain an IdentityAttribute if initialAttributePeer is undefined.")
153
153
);
154
154
}
155
155
@@ -161,7 +161,7 @@ export class ShareAttributeRequestItemProcessor extends GenericRequestItemProces
0 commit comments