From b5150e70e14dc68139aa74cccff3ff9ce54c74db Mon Sep 17 00:00:00 2001 From: "S. M. V." <117322465+smv1256@users.noreply.github.com> Date: Thu, 31 Oct 2024 23:09:26 -0400 Subject: [PATCH] docs(README): fix list relations code --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1dbc291..4b393cf 100644 --- a/README.md +++ b/README.md @@ -689,8 +689,8 @@ var response = await fgaClient.ListObjects(body, options); List the relations a user has on an object. ```csharp -ListRelationsRequest body = - new ListRelationsRequest() { +ClientListRelationsRequest body = + new ClientListRelationsRequest() { User = "user:81684243-9356-4421-8fbf-a4f8d36aa31b", Object = "document:roadmap", Relations = new List {"can_view", "can_edit", "can_delete", "can_rename"},