From 5057ded41d9582a02fda31aaf603ad1ed7c758f0 Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Thu, 25 Apr 2024 14:20:08 +0100 Subject: [PATCH] docs: correct casing for contextual tuples --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fa10ed1..1b3dfc1 100644 --- a/README.md +++ b/README.md @@ -462,7 +462,7 @@ const { responses } = await fgaClient.batchCheck([{ user: "user:81684243-9356-4421-8fbf-a4f8d36aa31b", relation: "viewer", object: "document:roadmap", - contextual_tuples: [{ + contextualTuples: [{ user: "user:81684243-9356-4421-8fbf-a4f8d36aa31b", relation: "writer", object: "document:roadmap" @@ -491,7 +491,7 @@ responses = [{ user: "user:81684243-9356-4421-8fbf-a4f8d36aa31b", relation: "viewer", object: "document:roadmap", - contextual_tuples: [{ + contextualTuples: [{ user: "user:81684243-9356-4421-8fbf-a4f8d36aa31b", relation: "writer", object: "document:roadmap" @@ -537,7 +537,7 @@ const response = await fgaClient.listObjects({ user: "user:81684243-9356-4421-8fbf-a4f8d36aa31b", relation: "viewer", type: "document", - contextual_tuples: [{ + contextualTuples: [{ user: "user:81684243-9356-4421-8fbf-a4f8d36aa31b", relation: "writer", object: "document:budget" @@ -563,7 +563,7 @@ const response = await fgaClient.listRelations({ user: "user:81684243-9356-4421-8fbf-a4f8d36aa31b", object: "document:roadmap", relations: ["can_view", "can_edit", "can_delete"], - contextual_tuples: [{ + contextualTuples: [{ user: "user:81684243-9356-4421-8fbf-a4f8d36aa31b", relation: "writer", object: "document:roadmap"