File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ You will have to provide a your own API Token from the [Authzed dashboard] in pl
5959``` js
6060import { v1 } from ' @authzed/authzed-node' ;
6161// if your endpoint is localhost
62- // const client = v1.NewClient('t_your_token_here_1234567deadbeef', 'localhost:50051', ClientSecurity.INSECURE_LOCALHOST_ALLOWED);
62+ // const client = v1.NewClient('t_your_token_here_1234567deadbeef', 'localhost:50051', v1. ClientSecurity.INSECURE_LOCALHOST_ALLOWED);
6363const client = v1 .NewClient (' t_your_token_here_1234567deadbeef' );
6464```
6565
Original file line number Diff line number Diff line change 11import { v1 } from '@authzed/authzed-node' ;
22// set up it on localhost like this:
3- // const client = v1.NewClient('mytokenhere', 'localhost:50051', 1 );
3+ // const client = v1.NewClient('mytokenhere', 'localhost:50051', v1.ClientSecurity.INSECURE_LOCALHOST_ALLOWED );
44const client = v1 . NewClient ( 'mytokenhere' ) ;
55const { promises : promiseClient } = client ; // access client.promises after instantiating client
66
You can’t perform that action at this time.
0 commit comments