Skip to content

Commit

Permalink
Merge pull request #96 from aserto-dev/fix_identity_v2
Browse files Browse the repository at this point in the history
Add object type for the getidentityv2 relation type identifier
  • Loading branch information
BogdanIrimie committed Jun 19, 2023
2 parents 934b852 + afa6245 commit 223b3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion directory/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func GetIdentityV2(client ds2.ReaderClient, ctx context.Context, identity string
relResp, err := client.GetRelation(ctx, &ds2.GetRelationRequest{
Param: &v2.RelationIdentifier{
Object: &obj,
Relation: &v2.RelationTypeIdentifier{Name: &relationString},
Relation: &v2.RelationTypeIdentifier{Name: &relationString, ObjectType: &identityString},
Subject: &v2.ObjectIdentifier{Type: &subjectType},
},
WithObjects: &withObjects,
Expand Down

0 comments on commit 223b3c8

Please sign in to comment.