Skip to content

Commit 71eadcb

Browse files
committed
fix(docs): use 'reader' relation in perform-check example to match update-tuples
The perform-check.mdx example was using relation 'can_view', but the update-tuples page creates relation 'reader'. This brings the two getting-started examples into sync and prevents the ValidationException.
1 parent 3c5a526 commit 71eadcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/getting-started/perform-check.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ To obtain the [access token](https://auth0.com/docs/get-started/authentication-a
144144

145145
### 02. Calling Check API
146146

147-
To check whether user `user:anne` has relationship `can_view` with object `document:Z`
147+
To check whether user `user:anne` has relationship `reader` with object `document:Z`
148148

149149
<CheckRequestViewer
150150
user={'user:anne'}
151-
relation={'can_view'}
151+
relation={'reader'}
152152
object={'document:Z'}
153153
allowed={true}
154154
skipSetup={true}

0 commit comments

Comments
 (0)