mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
docs: Fix incorrect variable in documentation
This commit is contained in:
parent
762d703df7
commit
61b8d4a7e8
@ -32,7 +32,7 @@ This only needs to be done once, afterwards this token can be used for all futur
|
||||
// as described in the API documentation.
|
||||
const indexResponse = await fetch('http://localhost:3000/.account/', { headers: { cookie }});
|
||||
const { controls } = await indexResponse.json();
|
||||
const res = await fetch(controls.account.clientCredentials, {
|
||||
const response = await fetch(controls.account.clientCredentials, {
|
||||
method: 'POST',
|
||||
headers: { cookie, 'content-type': 'application/json' },
|
||||
// The name field will be used when generating the ID of your token.
|
||||
|
Loading…
x
Reference in New Issue
Block a user