Skip to content

Commit

Permalink
chore: fix fossa website link
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh committed Mar 3, 2023
1 parent e58ad60 commit 7ce5aab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ server: https://app.fossa.com
project:
id: github.com/openfga/js-sdk
name: github.com/openfga/js-sdk
link: fga.dev
link: openfga.dev
url: github.com/openfga/js-sdk
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,8 @@ Create and/or delete relationship tuples to update the system state.

> Requires a client initialized with a storeId
Transaction mode (default):
###### Transaction mode (default)

By default, write runs in a transaction mode where any invalid operation (deleting a non-exiting tuple, creating an existing tuple, one of the tuples was invalid) or a server error will fail the entire operation.

```javascript
Expand All @@ -393,7 +394,8 @@ await fgaClient.deleteTuples([{ user: "user:81684243-9356-4421-8fbf-a4f8d36aa31b
// if any error is encountered in the transaction mode, an error will be thrown
```

Non-transaction mode:
###### Non-transaction mode

The SDK will split the writes into separate requests and send them sequentially to avoid rate limits.

```
Expand Down

0 comments on commit 7ce5aab

Please sign in to comment.