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"